Info.plist couldn't be read because it isn't in the correct format
up vote
1
down vote
favorite
My question is about getting this error when opening Info.plist file:
Info.plist couldn't be read because it isn't in the correct format
when opening from vs for mac or xcode also, what could be wrong with tha plist file? here is my plist file so you can have a look.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>10.3</string>
<key>CFBundleName</key>
<string>MovesaGarantias</string>
<key>CFBundleDisplayName</key>
<string>MovesaGarantias</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.MovesaGarantias</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Can we use your location when your app is being used?</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-60@2x</string>
<string>Icon-60@3x</string>
<string>Icon-76</string>
<string>Icon-76@2x</string>
<string>Default</string>
<string>Default@2x</string>
<string>Default-568h@2x</string>
<string>Default-Portrait</string>
<string>Default-Portrait@2x</string>
<string>Icon-Small-40</string>
<string>Icon-Small-40@2x</string>
<string>Icon-Small-40@3x</string>
<string>Icon-Small</string>
<string>Icon-Small@2x</string>
<string>Icon-Small@3x</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>XSLaunchImageAssets</key>
<string>Resources/Media.xcassets/LaunchImages.launchimage</string>
</dict>
</plist>
Error also says that the tag Key is unsopported on Xamarin vs for Mac.
xcode xamarin.forms xamarin.ios info.plist
add a comment |
up vote
1
down vote
favorite
My question is about getting this error when opening Info.plist file:
Info.plist couldn't be read because it isn't in the correct format
when opening from vs for mac or xcode also, what could be wrong with tha plist file? here is my plist file so you can have a look.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>10.3</string>
<key>CFBundleName</key>
<string>MovesaGarantias</string>
<key>CFBundleDisplayName</key>
<string>MovesaGarantias</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.MovesaGarantias</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Can we use your location when your app is being used?</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-60@2x</string>
<string>Icon-60@3x</string>
<string>Icon-76</string>
<string>Icon-76@2x</string>
<string>Default</string>
<string>Default@2x</string>
<string>Default-568h@2x</string>
<string>Default-Portrait</string>
<string>Default-Portrait@2x</string>
<string>Icon-Small-40</string>
<string>Icon-Small-40@2x</string>
<string>Icon-Small-40@3x</string>
<string>Icon-Small</string>
<string>Icon-Small@2x</string>
<string>Icon-Small@3x</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>XSLaunchImageAssets</key>
<string>Resources/Media.xcassets/LaunchImages.launchimage</string>
</dict>
</plist>
Error also says that the tag Key is unsopported on Xamarin vs for Mac.
xcode xamarin.forms xamarin.ios info.plist
this file successfully opened in my Visual Studio for Windows
– Rizan Zaky
Nov 10 at 16:25
Did it open without edition?
– David Robles
Nov 11 at 21:24
yes... but not in VS for Mac
– Rizan Zaky
Nov 12 at 1:26
Can't reproduce any issue. The plist file you have shown now is a valid plist file.
– matt
Nov 12 at 3:23
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
My question is about getting this error when opening Info.plist file:
Info.plist couldn't be read because it isn't in the correct format
when opening from vs for mac or xcode also, what could be wrong with tha plist file? here is my plist file so you can have a look.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>10.3</string>
<key>CFBundleName</key>
<string>MovesaGarantias</string>
<key>CFBundleDisplayName</key>
<string>MovesaGarantias</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.MovesaGarantias</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Can we use your location when your app is being used?</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-60@2x</string>
<string>Icon-60@3x</string>
<string>Icon-76</string>
<string>Icon-76@2x</string>
<string>Default</string>
<string>Default@2x</string>
<string>Default-568h@2x</string>
<string>Default-Portrait</string>
<string>Default-Portrait@2x</string>
<string>Icon-Small-40</string>
<string>Icon-Small-40@2x</string>
<string>Icon-Small-40@3x</string>
<string>Icon-Small</string>
<string>Icon-Small@2x</string>
<string>Icon-Small@3x</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>XSLaunchImageAssets</key>
<string>Resources/Media.xcassets/LaunchImages.launchimage</string>
</dict>
</plist>
Error also says that the tag Key is unsopported on Xamarin vs for Mac.
xcode xamarin.forms xamarin.ios info.plist
My question is about getting this error when opening Info.plist file:
Info.plist couldn't be read because it isn't in the correct format
when opening from vs for mac or xcode also, what could be wrong with tha plist file? here is my plist file so you can have a look.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>10.3</string>
<key>CFBundleName</key>
<string>MovesaGarantias</string>
<key>CFBundleDisplayName</key>
<string>MovesaGarantias</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.MovesaGarantias</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Can we use your location when your app is being used?</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>Can we use your location at all times?</string>
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<key>CFBundleIconFiles</key>
<array>
<string>Icon-60@2x</string>
<string>Icon-60@3x</string>
<string>Icon-76</string>
<string>Icon-76@2x</string>
<string>Default</string>
<string>Default@2x</string>
<string>Default-568h@2x</string>
<string>Default-Portrait</string>
<string>Default-Portrait@2x</string>
<string>Icon-Small-40</string>
<string>Icon-Small-40@2x</string>
<string>Icon-Small-40@3x</string>
<string>Icon-Small</string>
<string>Icon-Small@2x</string>
<string>Icon-Small@3x</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>XSLaunchImageAssets</key>
<string>Resources/Media.xcassets/LaunchImages.launchimage</string>
</dict>
</plist>
Error also says that the tag Key is unsopported on Xamarin vs for Mac.
xcode xamarin.forms xamarin.ios info.plist
xcode xamarin.forms xamarin.ios info.plist
edited Nov 12 at 0:57
asked Nov 9 at 4:05
David Robles
114
114
this file successfully opened in my Visual Studio for Windows
– Rizan Zaky
Nov 10 at 16:25
Did it open without edition?
– David Robles
Nov 11 at 21:24
yes... but not in VS for Mac
– Rizan Zaky
Nov 12 at 1:26
Can't reproduce any issue. The plist file you have shown now is a valid plist file.
– matt
Nov 12 at 3:23
add a comment |
this file successfully opened in my Visual Studio for Windows
– Rizan Zaky
Nov 10 at 16:25
Did it open without edition?
– David Robles
Nov 11 at 21:24
yes... but not in VS for Mac
– Rizan Zaky
Nov 12 at 1:26
Can't reproduce any issue. The plist file you have shown now is a valid plist file.
– matt
Nov 12 at 3:23
this file successfully opened in my Visual Studio for Windows
– Rizan Zaky
Nov 10 at 16:25
this file successfully opened in my Visual Studio for Windows
– Rizan Zaky
Nov 10 at 16:25
Did it open without edition?
– David Robles
Nov 11 at 21:24
Did it open without edition?
– David Robles
Nov 11 at 21:24
yes... but not in VS for Mac
– Rizan Zaky
Nov 12 at 1:26
yes... but not in VS for Mac
– Rizan Zaky
Nov 12 at 1:26
Can't reproduce any issue. The plist file you have shown now is a valid plist file.
– matt
Nov 12 at 3:23
Can't reproduce any issue. The plist file you have shown now is a valid plist file.
– matt
Nov 12 at 3:23
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
accepted
I think the problem is that you have an array for a value, but no key on line 34:
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<array>
<string>Icon-60@2x</string>
Before the <array>
tag, you need to have a <key>Keyname</key>
entry.
Hi, thank you for your answer, it does make sense, changed it but for some reason it still shows same error.
– David Robles
Nov 10 at 0:28
Without seeing the edits, we can't tell you what went wrong. Did you put the<key>Keyname</key>
between the</string>
and<array>
I mention above? I did that and it became valid again.
– user1118321
Nov 10 at 1:48
<key>NSCalendarsUsageDescription</key> <string>Needs Calendar Permission</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string>
– David Robles
Nov 11 at 22:23
Why don't you edit the new file into your original question. What you wrote looks good, so maybe something else is going wrong at this point?
– user1118321
Nov 11 at 22:28
I've edited the file on the Original Question, thanks again.
– David Robles
Nov 12 at 0:58
|
show 2 more comments
up vote
0
down vote
Now that you've corrected your plist file, it is valid and opens just fine in Xcode:
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53219724%2finfo-plist-couldnt-be-read-because-it-isnt-in-the-correct-format%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
I think the problem is that you have an array for a value, but no key on line 34:
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<array>
<string>Icon-60@2x</string>
Before the <array>
tag, you need to have a <key>Keyname</key>
entry.
Hi, thank you for your answer, it does make sense, changed it but for some reason it still shows same error.
– David Robles
Nov 10 at 0:28
Without seeing the edits, we can't tell you what went wrong. Did you put the<key>Keyname</key>
between the</string>
and<array>
I mention above? I did that and it became valid again.
– user1118321
Nov 10 at 1:48
<key>NSCalendarsUsageDescription</key> <string>Needs Calendar Permission</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string>
– David Robles
Nov 11 at 22:23
Why don't you edit the new file into your original question. What you wrote looks good, so maybe something else is going wrong at this point?
– user1118321
Nov 11 at 22:28
I've edited the file on the Original Question, thanks again.
– David Robles
Nov 12 at 0:58
|
show 2 more comments
up vote
0
down vote
accepted
I think the problem is that you have an array for a value, but no key on line 34:
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<array>
<string>Icon-60@2x</string>
Before the <array>
tag, you need to have a <key>Keyname</key>
entry.
Hi, thank you for your answer, it does make sense, changed it but for some reason it still shows same error.
– David Robles
Nov 10 at 0:28
Without seeing the edits, we can't tell you what went wrong. Did you put the<key>Keyname</key>
between the</string>
and<array>
I mention above? I did that and it became valid again.
– user1118321
Nov 10 at 1:48
<key>NSCalendarsUsageDescription</key> <string>Needs Calendar Permission</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string>
– David Robles
Nov 11 at 22:23
Why don't you edit the new file into your original question. What you wrote looks good, so maybe something else is going wrong at this point?
– user1118321
Nov 11 at 22:28
I've edited the file on the Original Question, thanks again.
– David Robles
Nov 12 at 0:58
|
show 2 more comments
up vote
0
down vote
accepted
up vote
0
down vote
accepted
I think the problem is that you have an array for a value, but no key on line 34:
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<array>
<string>Icon-60@2x</string>
Before the <array>
tag, you need to have a <key>Keyname</key>
entry.
I think the problem is that you have an array for a value, but no key on line 34:
<key>NSCalendarsUsageDescription</key>
<string>Needs Calendar Permission</string>
<array>
<string>Icon-60@2x</string>
Before the <array>
tag, you need to have a <key>Keyname</key>
entry.
answered Nov 9 at 4:23
user1118321
19.5k43964
19.5k43964
Hi, thank you for your answer, it does make sense, changed it but for some reason it still shows same error.
– David Robles
Nov 10 at 0:28
Without seeing the edits, we can't tell you what went wrong. Did you put the<key>Keyname</key>
between the</string>
and<array>
I mention above? I did that and it became valid again.
– user1118321
Nov 10 at 1:48
<key>NSCalendarsUsageDescription</key> <string>Needs Calendar Permission</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string>
– David Robles
Nov 11 at 22:23
Why don't you edit the new file into your original question. What you wrote looks good, so maybe something else is going wrong at this point?
– user1118321
Nov 11 at 22:28
I've edited the file on the Original Question, thanks again.
– David Robles
Nov 12 at 0:58
|
show 2 more comments
Hi, thank you for your answer, it does make sense, changed it but for some reason it still shows same error.
– David Robles
Nov 10 at 0:28
Without seeing the edits, we can't tell you what went wrong. Did you put the<key>Keyname</key>
between the</string>
and<array>
I mention above? I did that and it became valid again.
– user1118321
Nov 10 at 1:48
<key>NSCalendarsUsageDescription</key> <string>Needs Calendar Permission</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string>
– David Robles
Nov 11 at 22:23
Why don't you edit the new file into your original question. What you wrote looks good, so maybe something else is going wrong at this point?
– user1118321
Nov 11 at 22:28
I've edited the file on the Original Question, thanks again.
– David Robles
Nov 12 at 0:58
Hi, thank you for your answer, it does make sense, changed it but for some reason it still shows same error.
– David Robles
Nov 10 at 0:28
Hi, thank you for your answer, it does make sense, changed it but for some reason it still shows same error.
– David Robles
Nov 10 at 0:28
Without seeing the edits, we can't tell you what went wrong. Did you put the
<key>Keyname</key>
between the </string>
and <array>
I mention above? I did that and it became valid again.– user1118321
Nov 10 at 1:48
Without seeing the edits, we can't tell you what went wrong. Did you put the
<key>Keyname</key>
between the </string>
and <array>
I mention above? I did that and it became valid again.– user1118321
Nov 10 at 1:48
<key>NSCalendarsUsageDescription</key> <string>Needs Calendar Permission</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string>
– David Robles
Nov 11 at 22:23
<key>NSCalendarsUsageDescription</key> <string>Needs Calendar Permission</string> <key>CFBundleIconFiles</key> <array> <string>Icon-60@2x</string> <string>Icon-60@3x</string>
– David Robles
Nov 11 at 22:23
Why don't you edit the new file into your original question. What you wrote looks good, so maybe something else is going wrong at this point?
– user1118321
Nov 11 at 22:28
Why don't you edit the new file into your original question. What you wrote looks good, so maybe something else is going wrong at this point?
– user1118321
Nov 11 at 22:28
I've edited the file on the Original Question, thanks again.
– David Robles
Nov 12 at 0:58
I've edited the file on the Original Question, thanks again.
– David Robles
Nov 12 at 0:58
|
show 2 more comments
up vote
0
down vote
Now that you've corrected your plist file, it is valid and opens just fine in Xcode:
add a comment |
up vote
0
down vote
Now that you've corrected your plist file, it is valid and opens just fine in Xcode:
add a comment |
up vote
0
down vote
up vote
0
down vote
Now that you've corrected your plist file, it is valid and opens just fine in Xcode:
Now that you've corrected your plist file, it is valid and opens just fine in Xcode:
answered Nov 12 at 3:38
matt
321k45518718
321k45518718
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53219724%2finfo-plist-couldnt-be-read-because-it-isnt-in-the-correct-format%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
this file successfully opened in my Visual Studio for Windows
– Rizan Zaky
Nov 10 at 16:25
Did it open without edition?
– David Robles
Nov 11 at 21:24
yes... but not in VS for Mac
– Rizan Zaky
Nov 12 at 1:26
Can't reproduce any issue. The plist file you have shown now is a valid plist file.
– matt
Nov 12 at 3:23