install error: invalid info dictionary

When I install my app on simulator, I have no problem.

But when I want to install it on my Watch I always get an error which tell me "install myApp, error: invalid info dictionary".

I tried with xcode 6 and xcode 7beta1 on old and new projects but always the same problem.


You can see my log file :


Someone could help me? or already got this problem?

Answered by Frameworks Engineer in 12539022

Hi benSmokito,

Certain keys are not allowed to appear in information property lists for WatchKit extensions and apps. The offending key should have been logged to the device's console. For more information, see TN2410: WatchKit Project Configuration Reference

Accepted Answer

Hi benSmokito,

Certain keys are not allowed to appear in information property lists for WatchKit extensions and apps. The offending key should have been logged to the device's console. For more information, see TN2410: WatchKit Project Configuration Reference

Thx Justin for your answer but my problem is not solved.


I followed your link and verified one by one each value. My info.plist look good. In the console of my device, I found this :

Jun 18 10:44:30 iPhone-6-Plus nanoappregistryd(CompanionSync)[1610] <Notice>: CompanionSync: handleChangeMessage - done

Jun 18 10:44:32 iPhone-6-Plus Bridge(BridgePreferences)[1637] <Notice>: ########### 88 -[BPSInternalGlanceManager settingsManagerReloadedGlances:]

Jun 18 10:44:32 iPhone-6-Plus Bridge[1637] <Notice>: ########### glanceSpecifier (null) [_specifier propertyForKey:PSIDKey] <CFString 0x12e5a5e00 [0x1a0e68880]>{contents = "io.smok.dev"}

Jun 18 10:44:32 iPhone-6-Plus Bridge(Preferences)[1637] <Notice>: ERROR: Can't find plist <CFString 0x1001b0088 [0x1a0e68880]>{contents = "Root"} in bundle (null)

Jun 18 10:44:32 iPhone-6-Plus Bridge(Preferences)[1637] <Notice>: ERROR: Couldn't load plist from (null)


I think something wrong happen during the compilation.

I don't know if it can help you but I linked screenshots about my log and plist:

http://postimg.org/image/4ez5jsvtl/

http://postimg.org/image/rputisdsx/

http://postimg.org/image/osaq3vdd3/

Thx Justin, you helped me and you put me on the good way to fix my problem.

Did you ever solve this problem? I'm experienceing the same issue and can't find the supposed offending key in the device console.

Hi Justin,


I'm still having trouble resolving this.

I looked at the information you linked to, and verified that all the required keys are present in both the extension and WatchKit app. I also looked through the iPhone's log, but was unable to find any offending keys mentioned. Here is the relevant output:


Jul 14 16:59:25 Johns-iPhone companionappd(AppSupport)[177] <Notice>: (Note ) WatchKit: application (com.Wickham.Prototask.watchkitapp), install status: 8, message: application install failed: Invalid Info Dictionary
Jul 14 16:59:25 Johns-iPhone wcd[1596] <Notice>: [DEBUG] -[WCDSystemMonitor onqueue_handleInstalledApplicationsChanged]
Jul 14 16:59:25 Johns-iPhone Bridge(BridgePreferences)[2514] <Notice>: ########### 93 -[BPSInternalGlanceManager settingsManagerReloadedGlances:]
Jul 14 16:59:25 Johns-iPhone Bridge[2514] <Notice>: ########### glanceSpecifier (null) [_specifier propertyForKey:PSIDKey] <CFString 0x1345e4790 [0x1a1c3cbe8]>{contents = "com.Wickham.Prototask"}
Jul 14 16:59:25 Johns-iPhone Bridge(Preferences)[2514] <Notice>: ERROR: Can't find plist <CFString 0x1000f7f98 [0x1a1c3cbe8]>{contents = "Root"} in bundle (null)
Jul 14 16:59:25 Johns-iPhone Bridge(Preferences)[2514] <Notice>: ERROR: Couldn't load plist from (null)
Jul 14 16:59:25 Johns-iPhone Bridge(BridgePreferences)[2514] <Notice>: ########### Glance (null) SetShowsGlance:<CFBoolean 0x1a1c3d530 [0x1a1c3cbe8]>{value = false} Specifier:(null) WasActive: 0 HasMaxGlances: 0


Do you have any more information that could help?

Hey,

Not sure if this will help you, examine the 'Build Phase' scripts in all your targers (including widget & watch). Ensure that they are executing without any errors. If they are, then remove/modify them. Fixing that helped my particular case - just thought would put by $0.02 in.

install error: invalid info dictionary
 
 
Q