I have built the application in Xcode 6.1. It is not downloading in ios 8, showing the error LoadExternalDownloadManifestOperation: Ignore manifest download, already have bundleID: com....... I have tried many solutions:
Postfixing some character in the bundle-id of the plist.
Downloaded the provisioning profile again.
List item
Changed the plist by adding display-image and full-size-image tags.
When I implement these solutions, first 2-3 times it's getting downloaded, but after sometime it's failing.
I guess this can be an issue of plist.
I would like to know how to create a plist from Xcode 6.1?
Got a plist from .xarchive in XCode 6.1(shown below) but not working.
<?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>ApplicationProperties</key>enter code here
<dict>
<key>ApplicationPath</key>
<string>https://....../App.ipa</string>
<key>CFBundleIdentifier</key>
<string>com.abc.xyz.efg</string>
<key>CFBundleShortVersionString</key>
<string>1.0.40</string>
<key>CFBundleVersion</key>
<string>1.0.40</string>
<key>IconPaths</key>
<array>
<string>https://....../icon-76.png</string>
<string>https://....../icon-60.png</string>
</array>
<key>SigningIdentity</key>
<string>Company Limited</string>
</dict>
<key>ArchiveVersion</key>
<integer>2</integer>
<key>CreationDate</key>
<date>2014-12-11T06:46:25Z</date>
<key>Name</key>
<string>App</string>
<key>SchemeName</key>
<string>App</string>
</dict>
</plist>
Related
I want to build an iOS app that can receive images from photo library. So I registered the document type public.image (also tried with public.jpeg or public.png) in Xcode.
But if I click on share in the photo library the app doesn't show up as a receiver.
If I do the same in files app, the app is show in the UIActivityController and I can receive the image. Is there a special permission needed or what can I do to make it work straight out of the photo library?
info.plist:
<?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">
<array>
<dict>
<key>CFBundleTypeName</key>
<string>image</string>
<key>CFBundleTypeIconSystemGenerated</key>
<true/>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
<key>LSItemContentTypes</key>
<array>
<string>public.jpg</string>
<string>public.content</string>
<string>public.image</string>
</array>
</dict>
</array>
</plist>
I tried different variants of the plist and different kind of apps projects ( document based and not)
is there something new in iOS16, because some time ago I had an other project and it works just fine. (iOS 14 I think, not sure)
When trying to archive my React Native application and upload to the app store I get the following error:
Here is my main app's entitlements file.
<?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>aps-environment</key>
<string>development</string>
<key>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>TAG</string> <!-- added TAG -->
<string>NDEF</string>
</array>
<key>com.apple.security.application-groups</key>
<array>
<string>group.com.myapp.onesignal</string>
</array>
</dict>
</plist>
As at posting this answer, you cannot include NDEF in readersession in entitlements.
<key>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>TAG</string>
</array>
You need to add the following to your .entitlements file.
<key>com.apple.developer.nfc.readersession.formats</key>
<array>
<string>TAG</string> <!-- added TAG -->
<string>NDEF</string>
</array>
You then also need to make sure you re-archive your app. This was the reason of my issue persisting.
I've got an Alloy app and I'm trying to put some configuration into the Settings app in iOS.
I've added the Root.plist file here:
/app/platform/iphone/Settings.Bundle
The file looks like this:
<?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>StringsTable</key>
<string>Root</string>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Service</string>
</dict>
<dict>
<key>DefaultValue</key>
<string></string>
<key>Key</key>
<string>username</string>
<key>Title</key>
<string>Email address</string>
<key>Type</key>
<string>PSTextFieldSpecifier</string>
</dict>
</array>
But nothing appears in the settings app for me. Any suggestions?
There used to be an iOS bug in the simulator where if your app was running, even in background, when a new version was installed, the settings were not updated until you completed closed the app and relaunched it. Closing the simulator with the app running did NOT resolve the issue. TBH, I have not tested this lately, I am just in the habit of closing my app before I rebuild. Try completely closing your app, then relaunching it and see if the settings update.
I've researched that the whitelist rejection error requires
<key>ExternalHosts</key>
<array>
<string>*</string>
</array>
in your plist file. I'm building this app with phonegap build (not with XCode) and I need to know where in the plist file this key goes. Currently I have it as follows:
<plist version="1.0">
<dict>
<key>items</key>
<array>
...
</array>
<key>ExternalHosts</key>
<array>
<string>*</string>
</array>
</dict>
</plist>
But this is still throwing the same error.
Are there any modifications I need to make to my app in tandem with this change?
I did put that:
`<?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>KeyboardDisplayRequiresUserAction</key>
<true/>
...
<key>BackupWebStorage</key>
<string>cloud</string>
<key>ExternalHosts</key>
<array>
<string>dl.dropbox.com</string>
</array>
<key>Plugins</key>
<dict>`
into Cordova.plist file.
I've been trying to setup settings for my app but I can't seem to get this working even though I've looked over it over and over again and compared it to an example in a book and the example on Craig Dunn's blog.
I understand that the syntax has to be perfect and this file is pretty simple at the moment I am just trying to display one textfield for now. I did get this working briefly on a brand new project however I haven't managed to get it to work since.
Here is the XML of my Root.plist file:
<?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>Root</key>
<dict>
<key>PreferenceSpecifiers</key>
<array>
<dict>
<key>Title</key>
<string>Group Name</string>
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>AutocapitalizationType</key>
<string>None</string>
<key>AutocorrectionType</key>
<string>No</string>
<key>Key</key>
<string>usernameTextField</string>
<key>Title</key>
<string>Username</string>
<key>Type</key>
<string>PSTextFieldSpecifier</string>
</dict>
</array>
</dict>
</dict>
</plist>
As I said I've looked over it quite a lot of times and I can't see any problems with it. The file build action is set to Content and the Copy to Output Directory is set to Always Copy. The version of MonoTouch that I'm using is 6.0.7.
I'd appreciate any help with this issue. Thanks
Make sure that the Settings.bundle directory is included at the top level of the project. By top-level, I mean that on the file system, the Settings.bundle directory should be in the same directory as your ProjectName.csproj file. In MonoDevelop, it will appear as one of the top-level folders under the project node.
Set the Root.plist Build Action to BundleResource (do not enable "Copy to Output Directory". Hint: if you find yourself setting "Copy to Output Directory", don't do it - it's almost always the wrong thing to do - we've actually discussed removing the option altogether.)
Now, for the plist file format - here's what it should look like:
<?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>PreferenceSpecifiers</key>
<array>
<dict>
<key>Type</key>
<string>PSGroupSpecifier</string>
<key>Title</key>
<string>Group Name</string>
</dict>
<dict>
<key>Type</key>
<string>PSTextFieldSpecifier</string>
<key>Title</key>
<string>Username</string>
<key>AutocapitalizationType</key>
<string>None</string>
<key>AutocorrectionType</key>
<string>No</string>
<key>KeyboardType</key>
<string>Alphabet</string>
<key>IsSecure</key>
<false/>
<key>Key</key>
<string>usernameTextField</string>
<key>DefaultValue</key>
<string></string>
</dict>
</array>
<key>StringsTable</key>
<string>Root</string>
</dict>
</plist>
Looking at your Root.plist file, it appears that the PreferenceSpecifiers key is not in the top-level dict node (it needs to be). In other words:
get rid of the following lines at the top of the file:
<dict>
<key>Root</key>
...and one of the following lines at the end of your file:
</dict>
That should do it...
Now... all that said, I just recently figured this out myself while trying to add settings to my personal side project and decided that we, at Xamarin, need to make this easier. I've already fixed a few minor issues in the upcoming MonoDevelop 3.1, but I hope to get the time I need to add templates for Settings.bundle to MonoDevelop's "Add New File" wizard. I'd also like to add plist key/value hinting like we do for Info.plist and Entitlements.plist so that MonoDevelop's plist editor can better guide you when editing these plist files.
For starters, you are missing your closing plist </plist> tag. My current one only has one setting in it, but it works. You can compare to yours to see the differences:
<?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>PreferenceSpecifiers</key>
<array>
<dict>
<key>Type</key>
<string>PSToggleSwitchSpecifier</string>
<key>Title</key>
<string>Stay Signed-In</string>
<key>Key</key>
<string>staySignedIn</string>
<key>DefaultValue</key>
<true/>
</dict>
</array>
</dict>
</plist>
I hope this helps.