Difference between xCode Deployment and iTunes Deployment?
Hi,
I'm running into some confusion here with deploying my app to devices. Using xCode everything is fine, build/run puts the app on the device and runs it fine. As does using the organizer to drop the .app file onto the device. It all installs and verifies correctly.
However when using iTunes I get an error that states
The application "App Name" was not installed on the iPhone "xxxxx" because it is not compatible with this iPhone.
And the installation fails, however re-syncing the app via itunes again (without changing anything simply clicking on sync again) the app install no problem at all and runs fine. Anyone out there have any knowledge or any ideas on what i might be missing the first time I go to deploy this app on a 'clean' device as to why it throws a hissy fit and tells me the app isn't compatible, when subsequent syncing would seem to prove that it was.
To test this out I'm having to go to settings and having to erase all content and settings on the device, other wise this error will not occur.
Anyone have any clues as to why this is happening? I'm at my wits end on this one, documentation isn't proving to be very useful on this one.
Location: Somewhere the streets are on fire, the sewers are flooded, and the cats are high on catnip
Posts: 527
Quote:
Originally Posted by Jamie@FPStudios
Hi,
I'm running into some confusion here with deploying my app to devices. Using xCode everything is fine, build/run puts the app on the device and runs it fine. As does using the organizer to drop the .app file onto the device. It all installs and verifies correctly.
However when using iTunes I get an error that states
The application "App Name" was not installed on the iPhone "xxxxx" because it is not compatible with this iPhone.
And the installation fails, however re-syncing the app via itunes again (without changing anything simply clicking on sync again) the app install no problem at all and runs fine. Anyone out there have any knowledge or any ideas on what i might be missing the first time I go to deploy this app on a 'clean' device as to why it throws a hissy fit and tells me the app isn't compatible, when subsequent syncing would seem to prove that it was.
To test this out I'm having to go to settings and having to erase all content and settings on the device, other wise this error will not occur.
Anyone have any clues as to why this is happening? I'm at my wits end on this one, documentation isn't proving to be very useful on this one.
Alright so this morning I tried to sync the app with iTunes while watching the console in xCodes Organizer to see if anything spurious turned up that would let me know what was going on.
I'll post it here in case someone can make head or tail of it, as I'm lost to see what that has to do specifically with the app.
Quote:
Thu Oct 22 08:45:56 unknown SpringBoard[24] <Warning>: SB SYNC: iTunesSyncRequestedStart 0
Thu Oct 22 08:45:56 unknown SpringBoard[24] <Warning>: SB SYNC: beginSyncing 1
Thu Oct 22 08:45:56 unknown SpringBoard[24] <Warning>: SB SYNC: didShowSyncPanel 2
Thu Oct 22 08:45:56 unknown SpringBoard[24] <Warning>: SB SYNC: _notifyAppsSyncWillBegin 2
Thu Oct 22 08:45:56 unknown SpringBoard[24] <Notice>: MultitouchHID(208ad0) uilock state: 1 -> 0
Thu Oct 22 08:45:56 unknown SpringBoard[24] <Notice>: MultitouchHID(27b140) device bootloaded
Thu Oct 22 08:46:03 unknown springboardservicesrelay[188] <Warning>: Unable to parse property list data of length: 0
Thu Oct 22 08:46:05 unknown SpringBoard[24] <Warning>: SB SYNC: iTunesSyncHasCompleted 2
Thu Oct 22 08:46:05 unknown SpringBoard[24] <Warning>: SB SYNC: didEndSyncing 5
Thu Oct 22 08:46:05 unknown SpringBoard[24] <Warning>: ITDBPrepServerPostProcessRun: [BEGIN] looking up itdbprepserver.
Thu Oct 22 08:46:05 unknown itdbprepserver[195] <Warning>: starting up.
Thu Oct 22 08:46:05 unknown itdbprepserver[195] <Warning>: acquired iTunes sync file lock.
Thu Oct 22 08:46:05 unknown itdbprepserver[195] <Warning>: acquired itdbprep file lock.
Thu Oct 22 08:46:05 unknown itdbprepserver[195] <Warning>: posting com.apple.itdbprep.notification.willBegin
Thu Oct 22 08:46:05 unknown SpringBoard[24] <Warning>: ITDBPrepServerPostProcessRun: [-END-] looking up itdbprepserver. success = 1
Thu Oct 22 08:46:05 unknown itdbprepserver[195] <Warning>: BEGIN processing command: com.apple.itdprep.command.runPostProcess
Thu Oct 22 08:46:06 unknown itdbprepserver[195] <Warning>: [BEGIN] ITDBPostProcessController...
Thu Oct 22 08:46:06 unknown com.apple.itdbprep.server[195] <Notice>: warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Thu Oct 22 08:46:06 unknown com.apple.itdbprep.server[195] <Notice>: warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Thu Oct 22 08:46:06 unknown com.apple.itdbprep.server[195] <Notice>: warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Thu Oct 22 08:46:06 unknown itdbprepserver[195] <Warning>: [BEGIN] Post Processing...
Thu Oct 22 08:46:06 unknown itdbprepserver[195] <Warning>: Skipping iTunes Commands.
Thu Oct 22 08:46:06 unknown itdbprepserver[195] <Warning>: Running Misc Commands...
Thu Oct 22 08:46:06 unknown itdbprepserver[195] <Warning>: Running Sorting Process...
Thu Oct 22 08:46:07 unknown itdbprepserver[195] <Warning>: Running Create Triggers...
Thu Oct 22 08:46:07 unknown itdbprepserver[195] <Warning>: [-END-] Post Processing.
Stats
totalMLSITDBPostProcessing=1.00s
commands=0.00
misc=0.34s
icuSort=0.22s (MLS_icu_data=0.00s, MLS_icu_sec_data=0.00, dropIdx=0.04, normalize=0.00, update_orders=0.00, tStatsICUOther1=0.01, createIndex=0.16)
Thu Oct 22 08:46:08 unknown itdbprepserver[195] <Warning>: *** STARTING: DB Backup (CREATE-NEW) ***
Thu Oct 22 08:46:08 unknown itdbprepserver[195] <Warning>: *** FINISHED: DB Backup (CREATE-NEW, time = 0.08s) ***
Thu Oct 22 08:46:08 unknown itdbprepserver[195] <Warning>: Initializing MusicLibrary
Thu Oct 22 08:46:09 unknown itdbprepserver[195] <Warning>: [-END-] ITDBPostProcessController.
That's the console out put from the first time I try to sync the app via iTunes to the device. The following output is what I get when I sync again straight afterwards, which works without any errors coming up.
Quote:
Thu Oct 22 08:46:13 unknown SpringBoard[24] <Notice>: MultitouchHID(208ad0) uilock state: 0 -> 1
Thu Oct 22 08:50:46 unknown SpringBoard[24] <Warning>: SB SYNC: iTunesSyncRequestedStart 0
Thu Oct 22 08:50:46 unknown SpringBoard[24] <Warning>: SB SYNC: beginSyncing 1
Thu Oct 22 08:50:46 unknown SpringBoard[24] <Notice>: MultitouchHID(208ad0) uilock state: 1 -> 0
Thu Oct 22 08:50:46 unknown SpringBoard[24] <Warning>: SB SYNC: didShowSyncPanel 2
Thu Oct 22 08:50:46 unknown SpringBoard[24] <Warning>: SB SYNC: _notifyAppsSyncWillBegin 2
Thu Oct 22 08:50:46 unknown SpringBoard[24] <Notice>: MultitouchHID(27b140) device bootloaded
Thu Oct 22 08:50:56 unknown mobile_installationd[222] <Error>: 00808a00 install_embedded_profile: Skipping the installation of the embedded profile
Thu Oct 22 08:50:59 unknown SpringBoard[24] <Warning>: Reloading and rendering all application icons.
Thu Oct 22 08:51:00 unknown springboardservicesrelay[226] <Warning>: Unable to parse property list data of length: 0
Thu Oct 22 08:51:01 unknown springboardservicesrelay[234] <Warning>: Unable to parse property list data of length: 0
Thu Oct 22 08:51:03 unknown SpringBoard[24] <Warning>: SB SYNC: iTunesSyncHasCompleted 2
Thu Oct 22 08:51:03 unknown SpringBoard[24] <Warning>: SB SYNC: didEndSyncing 5
Thu Oct 22 08:51:03 unknown SpringBoard[24] <Warning>: ITDBPrepServerPostProcessRun: [BEGIN] looking up itdbprepserver.
Thu Oct 22 08:51:03 unknown itdbprepserver[235] <Warning>: starting up.
Thu Oct 22 08:51:03 unknown itdbprepserver[235] <Warning>: acquired iTunes sync file lock.
Thu Oct 22 08:51:03 unknown itdbprepserver[235] <Warning>: acquired itdbprep file lock.
Thu Oct 22 08:51:03 unknown itdbprepserver[235] <Warning>: posting com.apple.itdbprep.notification.willBegin
Thu Oct 22 08:51:03 unknown SpringBoard[24] <Warning>: ITDBPrepServerPostProcessRun: [-END-] looking up itdbprepserver. success = 1
Thu Oct 22 08:51:03 unknown itdbprepserver[235] <Warning>: BEGIN processing command: com.apple.itdprep.command.runPostProcess
Thu Oct 22 08:51:03 unknown itdbprepserver[235] <Warning>: [BEGIN] ITDBPostProcessController...
Thu Oct 22 08:51:04 unknown com.apple.itdbprep.server[235] <Notice>: warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Thu Oct 22 08:51:04 unknown com.apple.itdbprep.server[235] <Notice>: warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Thu Oct 22 08:51:04 unknown com.apple.itdbprep.server[235] <Notice>: warning: Could not compile statement SELECT value FROM _SqliteDatabaseProperties WHERE key = ?;: no such table: _SqliteDatabaseProperties
Thu Oct 22 08:51:04 unknown itdbprepserver[235] <Warning>: [BEGIN] Post Processing...
Thu Oct 22 08:51:04 unknown itdbprepserver[235] <Warning>: Skipping iTunes Commands.
Thu Oct 22 08:51:04 unknown itdbprepserver[235] <Warning>: Running Misc Commands...
Thu Oct 22 08:51:04 unknown itdbprepserver[235] <Warning>: Running Sorting Process...
Thu Oct 22 08:51:04 unknown itdbprepserver[235] <Warning>: Running Create Triggers...
Thu Oct 22 08:51:05 unknown itdbprepserver[235] <Warning>: [-END-] Post Processing.
Stats
totalMLSITDBPostProcessing=0.55s
commands=0.00
misc=0.35s
icuSort=0.16s (MLS_icu_data=0.00s, MLS_icu_sec_data=0.00, dropIdx=0.04, normalize=0.01, update_orders=0.01, tStatsICUOther1=0.01, createIndex=0.10)
Thu Oct 22 08:51:06 unknown itdbprepserver[235] <Warning>: *** STARTING: DB Backup (CREATE-NEW) ***
Thu Oct 22 08:51:06 unknown itdbprepserver[235] <Warning>: *** FINISHED: DB Backup (CREATE-NEW, time = 0.10s) ***
Thu Oct 22 08:51:06 unknown itdbprepserver[235] <Warning>: Initializing MusicLibrary
Thu Oct 22 08:51:07 unknown itdbprepserver[235] <Warning>: [-END-] ITDBPostProcessController.
Stats
totalTime=3.16s
ensureIndices=1.11
Thu Oct 22 08:51:07 unknown itdbprepserver[235] <Warning>: DONE processing command: com.apple.itdprep.command.runPostProcess
Thu Oct 22 08:51:07 unknown itdbprepserver[235] <Warning>: posting com.apple.itdbprep.notification.didEnd
Thu Oct 22 08:51:07 unknown itdbprepserver[235] <Warning>: Releasing locks.
Thu Oct 22 08:51:07 unknown itdbprepserver[235] <Warning>: exiting now.