Where to put iTunesArtwork Image in PhoneGap Build Ad Hoc Project? - ios

I am not using Xcode to develop but rather HTML5stack with PhoneGap Build. I do not have a "Resources" folder but rather an "Image" folder. I understand that this file should not be included with my .ipa build for the App Store Review. But if I want my app Icon to show up in the iTunes Library under an Ad Hoc Developer certificate build, then which folder should I put the iTunesArtwork (512x512px with no file extension) file--in "Image" folder or at the root of the "www" folder with Icon.png and splash.png files?

Related

-initWithDocumentTypes iCloud crashes only in production build

I am using iCloud capabilities to choose files from iCloud by using UIDocumentMenuViewController. It is working fine in development build but whenever I upload build with production provisioning profile on Testflight my app produce a crash in line [[UIDocumentMenuViewController alloc] initWithDocumentTypes:#[#"public.data"] inMode:UIDocumentPickerModeImport];
I make archive in one machine and then create production build by using command-line on different machine.
I also checked the provisioning profile for production, and found all the capabilities are included under entitlement section.
Can someone help ?
Problem: As I was creating archive with command-line without code-signing (provisioning profile) system was ignoring the entitlements ad not creating the entitlements file (entitlement file archived-expanded-entitlements.xcent was not being created inside archive package or APP_NAME.xcarchive).
Solution: I wanted archived-expanded-entitlements.xcent file, so I created archive with Xcode by including provisioning profile and the package had the archived-expanded-entitlements.xcent file inside it. I copy this file everytime when I create archive by command-line without code signing. I copy this archived-expanded-entitlements.xcent file inside the archive package.
PS: If we change app capabilities we need to create new archived-expanded-entitlements.xcent as entitlements would changed.
Thanks everyone for your suggestion and comments :-)

How to find IPA file through ApplicationLoader

I work in Visual Studio for Windows. For building iOS app VS use Mac as build server. After building process I have IPA file at the windows host.
Than I need to upload it through ApplicationLoader. But ApplicationLoader is running on Mac and how can it access to windows host ipa?
The Visual Stuiod has command 'Show IPA file on build server' and when I use it I see finder is opened at someplace at Mac. But what is this place?
I start ApplicationLoader and try to find this IPA file without success.
Where is it? As workaround I copied (drag&drop) ipa file from this unknown folder to Mac desktop and selected the file from there.
When I upload ipa to iTunesConnect I don't see loaded symbols! Why the symbols isn't loaded?
And the last. I heard about fastlane that it prefer way to upload symbols to Crashlytics. So how can it worked as project files placed in Windows host?
You can't find ipa file after archive because it will not create ipa.
You need to create file manually .
Follow this steps to create .ipa
Right click on recent archive file in organisation and select show in finder option.
After you will .xcarchive file.
Right click on that file an select Show Package and content option.
Under Product folder. you can find .app file.
Drag .app file to application section in itunes after completion of process right click on icon and select show in finder option.
That's your ipa File .
Second solution
Build your project with production certificate .
After Build under product folder you can see .app file and show it in finder .
Follow to 5 and 6 from above solution.
You need to archive .ipa, not just build for release.

Change app iCons with only IPA file provided

How can i change app icon after creating the ipa file .
I am follow below steps
Rename the .ipa to .zip, and unzip the archive.
Inside should be a folder called "payload", and inside that folder should be your application archive.
Change the app icons file
Re-zip the archive
Rename the .zip to .ipa
Re-sign the .ipa
But the ipa is not installed , It showing Modified (add or delete) file error . Can any one please help me

Provisional profile is missing when building for iOS 5.0

I am able to create the .ipa file for 4.2, but it fails when I do it for 5.0. In 5.0 when I archive the build, the provisioning profile is missing.
It successfully runs in the simulator and in my iPhone. When I select "Product->Archive" to build the archive, it successfully archives the project but it losses the identifier name, and the version is 'Unspecified'. When I press the "Share" button it doesn't find the provisioning profile and can't build the ipa file.
How can I get the ipa file built?
you need to download the .mobileprovision files from developer.apple.com. You can just double click the files in finder and install them. Be sure in the build settings to point them to proper distro profiles/developer profiles.
SOLVED - Actually the the project was done with xcode 3.2.6 and it had two dependencies. When it was transitioned to 4.2, build setting wasn't changed. I had to convert the build settings of 2 dependencies and the main application then i could build the ipa file.

Can you still use Application Loader to submit iOS programs to Apple?

I am using Xcode 4.3.1. I have a client that needs me to build an app for him and then allow him to submit (I am not the team agent so I cannot do it). However, Xcode keeps building .xcarchive files instead of .ipa files. What can I do?
An AppStore ipa file is the Payload folder with a signed ipa file together with a valid iTunesArtwork file (512x512 px) compressed to a zip archive renamed to .ipa:
Folder
Payload with a content:
myapp.app
iTunesArtwork
Archive Payload folder
Payload.zip
Rename archive
myapp.ipa
That .ipa file must be good for submission if you configure the build correctly, the client will have to set-up submission at iTunes connect and upload an ipa file there. Don't forget to keep a dsym file from the build, if that's lost you won't be able to symbolicate the crash logs for the client.

Resources