Info.plist Build Error

iOS, iPad, iPhone, tvOS specific usage questions
spaceace76
New Cone
New Cone
Posts: 4
Joined: 18 Nov 2015 06:00

Info.plist Build Error

Postby spaceace76 » 19 Nov 2015 09:29

Have been trying to compile but keep getting this error:

WatchKit Extension doesn't contain any WatchKit apps whose bundle identifiers match "org.videolan.vlc-ios.watchkitapp". Verify that the value of WKAppBundleIdentifier in your WatchKit Extension's Info.plist matches the value of CFBundleIdentifier in your WatchKit App's Info.plist.


ValidateEmbeddedBinary /Users/mojado/Library/Developer/Xcode/DerivedData/VLC_for_iOS-bdqigispsecwakfuwghljywrdliw/Build/Products/Debug-iphoneos/VLC\ for\ iOS.app/PlugIns/VLC\ for\ iOS\ WatchKit\ Extension.appex
cd /Users/mojado/Desktop/VLC-iOS-2.6.6-6f0a04b66f888db4fe3407052cd4229d821437b3
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-embeddedBinaryValidationUtility /Users/mojado/Library/Developer/Xcode/DerivedData/VLC_for_iOS-bdqigispsecwakfuwghljywrdliw/Build/Products/Debug-iphoneos/VLC\ for\ iOS.app/PlugIns/VLC\ for\ iOS\ WatchKit\ Extension.appex -signing-cert 7688A34CF965AB09C837E67ADF9998B2A1759D6D -info-plist-path /Users/mojado/Library/Developer/Xcode/DerivedData/VLC_for_iOS-bdqigispsecwakfuwghljywrdliw/Build/Products/Debug-iphoneos/VLC\ for\ iOS.app/Info.plist


Have checked every file named Info.plist on my machine and verified that the appropriate files have the correct code signs (my own). I can't locate the file the error specifies, so I'm not sure what it is I'm missing here?

toco
New Cone
New Cone
Posts: 2
Joined: 19 Nov 2015 16:18

Re: Info.plist Build Error

Postby toco » 19 Nov 2015 16:54

This issue has nothing to do with code signing.

The error message is telling you that

Code: Select all

WKCompanionAppBundleIdentifier
in

Code: Select all

VLC for iOS WatchKit App/Info.plist
and

Code: Select all

NSExtension.NSExtensionAttributes.WKAppBundleIdentifier
in

Code: Select all

VLC for iOS WatchKit Extension/Info.plist
must match.

Please verify that both values are correctly adjusted.

In the master brach of the git repo we made it easier to change the bundle identifier prefix to your own.

spaceace76
New Cone
New Cone
Posts: 4
Joined: 18 Nov 2015 06:00

Re: Info.plist Build Error

Postby spaceace76 » 22 Nov 2015 10:55

Thank you for the help!

It turned out the WKAppBundleIdentifier value wasn't correct, fixed that and the build is now good to go, aside from a new error...

I got an error about provisioning profiles and adding an App Groups entitlement to my app ID. Under app groups in capabilities, I added my code sign to the app groups, as in "groups.(my bundle ID)", the watch kit app and extension took to my app group with no issue but Vlc-ios won't allow Xcode to fix the issue. Under the app groups steps it says: The iCloud feature is only available to users enrolled in Apple Developer Program... etc"

This is the specific error:
Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.ubiquity-kvstore-identifier, com.apple.developer.icloud-container-identifiers, com.apple.developer.icloud-services, com.apple.security.application-groups, com.apple.developer.ubiquity-container-identifiers

It seems upset that I'm not enrolled in the Developer Program and is complaining that some iCloud features won't work. I deleted my provisioning profiles in Xcode profiles and reformed them to no avail. Any ideas?

fkuehne
Developer
Developer
Posts: 7264
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Info.plist Build Error

Postby fkuehne » 22 Nov 2015 17:23

You need to remove those features from the Xcode build configuration if you don't have access to a Developer Membership at Apple, I fear.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

spaceace76
New Cone
New Cone
Posts: 4
Joined: 18 Nov 2015 06:00

Re: Info.plist Build Error

Postby spaceace76 » 23 Nov 2015 04:18

How can i do that? Will the app still run?

I appreciate all the help so far guys!
Last edited by spaceace76 on 23 Nov 2015 20:25, edited 1 time in total.

spaceace76
New Cone
New Cone
Posts: 4
Joined: 18 Nov 2015 06:00

Re: Info.plist Build Error

Postby spaceace76 » 23 Nov 2015 12:22

I went to VLC for iOS.xcodeproj contents, opened project.pbxproj, and set com.apple.icloud enabled = 0

The app group ID now agrees with my app and bundle ID's across the board. But i still get this dialog box when building:

"No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.ubiquity-kvstore-identifier, com.apple.developer.icloud-container-identifiers, com.apple.developer.icloud-services, com.apple.security.application-groups, com.apple.developer.ubiquity-container-identifiers"

It gives me the option to allow Xcode to fix the problem, and when clicking that option Xcode returns this error:

"The 'iCloud' feature is only available to users enrolled in Apple Developer Program. Please visit
https://developer.apple.com/programs/ to enroll."

so it seems like i have to somehow remove these entitlements (checked my entitlements file and have no idea how to disable these) or remove iCloud altogether?

Bushi
New Cone
New Cone
Posts: 1
Joined: 28 Jan 2016 16:14

Re: Info.plist Build Error

Postby Bushi » 28 Jan 2016 16:20

Had a similar issue. In Xcode 7 you need to go in the "Capabilities" tab in the settings of the application, and disable every capability you haven't access to: iCloud, KeyChain Sharing, etc. (Did not develop for iOS in a long time so this was new to me)


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 24 guests