简体   繁体   中英

How can I add custom entries into iOS watchKit extension info.plist?

I use info.plist to define variables into my app and its today extension.

But I can't add those variables to the WatchKit info.plist without getting an error while building :

在此处输入图片说明

Am I missing something?

(xCode 7.0 beta 6)

Ok, I've just found my error. There are 2 Info.plist for the watchKit app.

1) The first is in the device code (directory : Dealabs WatchKit Extension )

2) The second is in the watch code (directory : Dealabs WatchKit App )

I was adding my custom vars into the watch code Info.plist ... moving all my vars to the first solved the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM