Bug 36294 - Unexpected character in InfoPList.string
Summary: Unexpected character in InfoPList.string
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: iOS ()
Version: 2.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-11-26 15:38 UTC by Alessandro
Modified: 2015-11-27 12:21 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Alessandro 2015-11-26 15:38:04 UTC
I have 2 files in iOS Project 

en.lproj/InfoPList.string and it.lproj/InfoPList.string

Now with XF 2.0 I am not able to build the project.

I have this error

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: Tool exited with code: 1. Output: Resources/en.lproj/InfoPList.strings: Property List error: Unexpected character C at line 1 / JSON error: JSON text did not start with array or object and option to allow fragments not set.
 (IWapp.iOS)

The content of files is

CFBundleDisplayName = “Geo Badge”;



Xamarin Studio
Version 5.10 (build 871)
Installation UUID: 3f1ef7a2-17e7-4995-9b35-52dda7b17de7
Runtime:
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

Xamarin.Profiler
Not Installed

Apple Developer Tools
Xcode 7.1.1 (9081)
Build 7B1005

Xamarin.iOS
Version: 9.2.1.51 (Indie Edition)
Hash: 3c0ec35
Branch: master
Build date: 2015-11-12 13:05:39-0500

Xamarin.Android
Version: 6.0.0.34 (Indie Edition)
Android SDK: /Users/alessandrocaliaro/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
		5.1    (API level 22)
		6.0    (API level 23)

SDK Tools Version: 24.3.3
SDK Platform Tools Version: 23.1 rc1
SDK Build Tools Version: 23.0.1

Java SDK: /usr
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Xamarin Android Player
Version: 0.6.5
Location: /Applications/Xamarin Android Player.app

Xamarin.Mac
Version: 2.4.0.109 (Starter Edition)

Build Information
Release ID: 510000871
Git revision: 4e9c5abb5ffdae12ba02ac49da83f8b2011dbb88
Build date: 2015-11-12 06:02:54-05
Xamarin addins: 55007ed0e56436f385d8e26394a45be563abc7e8
Build lane: monodevelop-lion-cycle6

Operating System
Mac OS X 10.11.1
Darwin MacBook-Pro-di-Alessandro.local 15.0.0 Darwin Kernel Version 15.0.0
    Sat Sep 19 15:53:46 PDT 2015
    root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
Comment 1 Paul DiPietro [MSFT] 2015-11-27 00:55:56 UTC
A reproduction project would be much appreciated in helping to investigate this issue, if possible. Did you make any specific changes to the plist file before upgrading to 2.0? If you downgrade to 1.5.1, does it work again?
Comment 2 Matteo Pezzoli 2015-11-27 05:39:21 UTC
Solved.

The file InfoPList.string contained quotes that the software did not accept. We replaced the quotes with the correct ones.
Comment 3 Paul DiPietro [MSFT] 2015-11-27 12:21:12 UTC
Thanks for the update.