Search results for

“codesign”

3,223 results found

Post

Replies

Boosts

Views

Activity

Reply to VPN - Plugin xxx does not have a bundle URL(iOS10.0.2)
Hi Eskimo,The same issue happened with SimpleTunnel sample code.By packaging all the components are present. Is there any special for the location of them, and the content of Info.plist properties?The present and location of all parts inside VPNApp.app as below:_CodeSignature -[folder]Assets.carBase.lproj -[folder]embedded.mobileprovisionen.lproj -[folder]Frameworks -[folder]Info.plistPkgInfoPlugIns -[folder] VPNExtension.aapexVPNAppVPNBackgroundView.nibBelow is the entitlements output by command codesign -d --entitlements :- VPNapp.app:<?xml version=1.0 encoding=UTF-8?><!DOCTYPE plist PUBLIC -/<plist version=1.0><dict> <key>application-identifier</key> <string>74PR523F2B.com.xxx.xxx.vpnapp</string> <key>com.apple.developer.networking.networkextension</key> <array> <string>packet-tunnel-provider</string> </array> <key>com.apple.developer.networking.vpn.api</key> <array> <string>allow-vpn</strin
Oct ’16
Reply to Contacts CNContactStore results in accountsWithAccountType: error
I found a solution !!!Apple has answered my radar with the following statement : Contacts now requires that anyone using it be codesigned with the uses-contacts entitlement.So what I did is that I sandboxed my app, and granted the Contacts access entitlement. Everything works fine again. I mean here that I can access the Contacts information.However, the warnings are still logged, but this is linked to another bug of XCode 8 that logs so many things uselessly.It seems Apple will no longer accept non sandboxed app to access the Contacts (or location or calendar).
Topic: UI Frameworks SubTopic: AppKit Tags:
Oct ’16
App Install on device fails with Xcode 8
When using Xcode 8, we are unable to install our app on a non-connected device.With Xcode 7, we can create a developer build archive, or a release build archive (for ad-hoc or enterprise distribution) and then create an IPA file which can be distributed via Fabric/Crashlytics, or iTunes to individual users.When we use Xcode 8, the build, the codesign, the archive and export to IPA file work flawlessly and report no problems.Then, when we attempt to install the app on a device, we get the following error as viewed on the device console log:Oct 14 16:47:30 iPhone-6 installd[3591] <Error>: 0x16e12f000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 142: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.GEf0BN/extracted/Payload/MyBigApp.app/Frameworks/CAP.framework : 0xe8008019 (The application does not have a valid signature.)Oct 14 16:47:30 iPhone-6 installd[3591] <Error>: 0x16e12f000 -[MIInstaller
3
0
5.5k
Oct ’16
Reply to copy on code sign, where does version come from?
This is a cross platform library built as framework for OSX and iOS, and the version tag is what it is to cover all platforms.Yeah, I thought you might be heading in that direction. What’s your deployment target for this framework? These days most macOS products (and all products on iOS-based platforms) are self contained. As such, there’s no point have multiple versions of the code nested within your framework, because the framework is embedded within an app that contains all of its client code.Moreover doing this is actively harmful:It makes the framework bigger than necessary.It puts you well off the beaten path, as you’ve discovered here.Regardless, if you want to keep going down with path you should check out the --bundle-version option to codesign. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Oct ’16
Error -60005 creating authorization
Hello,Can anybody tell me what this error means?10/20/16 12:31:53.323 PM CoreServicesUIAgent[437]: Error -60005 creating authorizationI'm debugging some codesigning and I keep seeing it and I can't find any info on it Also, if you happen to know what this one means, I'd further appreaciate it!10/20/16 1:41:35.284 PM CoreServicesUIAgent[3107]: error -1 while removing quarantine data on path /Applications/PrintNode.app/Contents/Frameworks/Python.framework/HeadersThanks!
2
0
3.6k
Oct ’16
Reply to copy on code sign, where does version come from?
To be clear.I didn't write the frameworks. I am trying to incorporate frameworks that are available in source form. I am willing to fix either the framework or my inclusion so it includes properly. The version number identifier was selected by those that provide the framework. I am just trying to make it work.The frameworks pass all codesign verifications. The only problem is that xcode tries to sign the wrong location when sign on copy is checked. That is what I am trying to fix.
Topic: Code Signing SubTopic: General Tags:
Oct ’16
Frustrating Bundle ID and code signing issue after adding WatchKit to existing app
So I'm an experienced iOS Dev, I've been building apps since 2009 and have never come across an issue as frustrating as this in all that time. I've raised this as a TSI request with Apple only for it to be bounced back to iTunes Connect who threw some documentation at me and then went dark.Here is my issue:My very first app created in 2009 has the app ID 467SNW7GHZ. At the time I was in way over my head and it was all I could get to work and although I've now learned to use com.company.appname etc this app unfortunately is stuck that way.Although this app is at version 2.3 and has had many updates over the years it hasn't been updated since 2013 and I've decided to make it 64-bit and contain a WatchApp and WatchExtension. I am not using App Groups and have no need for the entitlement.At present my bundle ID structure is like this:App: 467SNW7GHZ.WatchApp: 467SNW7GHZ.watchkitappExtension: 467SNW7GHZ.watchkitapp.watchkitextensionCompanion app ID: 467SNW7GHZ.WKAppBundle ID: 467SNW7GHZ.watchkitappThis issue I'm h
5
0
2.3k
Oct ’16
Scene Kit won't compile after adding an image resources
After I create a new Scene Kit Template Project (which compiles perfectly), and then add an image from my system to the art.scenassets folder, I get this error: Command /usr/bin/codesign failed with exit code 1.( Note: The file in this case is a .png.) Nevertheless, after I remove the image file and clean the project and confim the project does compile.. Then, when I add a different .png file (from the Apple Demo project (BadgerAdvancedRenderinginSceneKit)) the scene compiles, perfectly. I'm guessing my image contains some incompatable metadata, based on some iCloud reference on my system. I say this because I have other issues, that seem to be related to iCloud being on my system.
0
0
405
Oct ’16
Reply to Share security scoped bookmark in app group?
Also I have com.apple.security.files.user-selected.read-write to YES in entitlements.Did you just look in the .entitlements file? Or did you check the build binary? What does this show? $ codesign -d --entitlements :- /path/to/Your.app/Contents/PlugIns/YourExtension.appexShare and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Oct ’16
Reply to Share security scoped bookmark in app group?
The output looks correct when running codesign -d -entitlements on the .appex<?xml version=1.0 encoding=UTF-8?><!DOCTYPE plist PUBLIC -/<plist version=1.0><dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.application-groups</key> <array> <string>APP_GROUP_IS_HERE</string> </array> <key>com.apple.security.files.bookmarks.app-scope</key> <true/> <key>com.apple.security.files.bookmarks.document-scope</key> <true/> <key>com.apple.security.files.user-selected.read-write</key> <true/></dict></plist>
Topic: Code Signing SubTopic: General Tags:
Oct ’16
Xcode 8.1GM fails to codesign .bundle with Resources dir
I've seen this error in the past but it's come back. 😟Here's what it spits out (redacted)CodeSign ~/Library/Developer/Xcode/DerivedData/...BundleName.bundle cd ~/.../Pods export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export PATH=... Signing Identity: - /usr/bin/codesign --force --sign - --timestamp=none ~/Library/Developer/Xcode/DerivedData/...BundleName.bundle ~/Library/Developer/Xcode/DerivedData/...BundleName.bundle: bundle format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1Have development pod with .bundle packages in the src. Those packages have directories named Resources. If we change it to anything else, the problem goes away.Worked fine on Xcode 8.0
39
0
16k
Oct ’16
Reply to Xcode 8.1GM fails to codesign .bundle with Resources dir
Same problem.Xcode 8.1CodeSign /Users/xx/Library/Developer/Xcode/DerivedData/ytb-hbgmbcbysyfddgackcqvvjbrkiba/Build/Products/Debug-iphonesimulator/Appirater.bundle cd /Users/xx/Desktop/xx/xx/Pods export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin Signing Identity: - /usr/bin/codesign --force --sign - --timestamp=none /Users/xx/Library/Developer/Xcode/DerivedData/ytb-hbgmbcbysyfddgackcqvvjbrkiba/Build/Products/Debug-iphonesimulator/Appirater.bundle /Users/xx/Library/Developer/Xcode/DerivedData/ytb-hbgmbcbysyfddgackcqvvjbrkiba/Build/Products/Debug-iphonesimulator/Appirater.bundle: bundle format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1
Oct ’16
Reply to VPN - Plugin xxx does not have a bundle URL(iOS10.0.2)
Hi Eskimo,The same issue happened with SimpleTunnel sample code.By packaging all the components are present. Is there any special for the location of them, and the content of Info.plist properties?The present and location of all parts inside VPNApp.app as below:_CodeSignature -[folder]Assets.carBase.lproj -[folder]embedded.mobileprovisionen.lproj -[folder]Frameworks -[folder]Info.plistPkgInfoPlugIns -[folder] VPNExtension.aapexVPNAppVPNBackgroundView.nibBelow is the entitlements output by command codesign -d --entitlements :- VPNapp.app:<?xml version=1.0 encoding=UTF-8?><!DOCTYPE plist PUBLIC -/<plist version=1.0><dict> <key>application-identifier</key> <string>74PR523F2B.com.xxx.xxx.vpnapp</string> <key>com.apple.developer.networking.networkextension</key> <array> <string>packet-tunnel-provider</string> </array> <key>com.apple.developer.networking.vpn.api</key> <array> <string>allow-vpn</strin
Replies
Boosts
Views
Activity
Oct ’16
Reply to VPN - Plugin xxx does not have a bundle URL(iOS10.0.2)
Below is the entitlements output by command codesign -d --entitlements :- VPNapp.app:You also need to check the entitlements for the embedded .appex. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Replies
Boosts
Views
Activity
Oct ’16
Reply to Contacts CNContactStore results in accountsWithAccountType: error
I found a solution !!!Apple has answered my radar with the following statement : Contacts now requires that anyone using it be codesigned with the uses-contacts entitlement.So what I did is that I sandboxed my app, and granted the Contacts access entitlement. Everything works fine again. I mean here that I can access the Contacts information.However, the warnings are still logged, but this is linked to another bug of XCode 8 that logs so many things uselessly.It seems Apple will no longer accept non sandboxed app to access the Contacts (or location or calendar).
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Oct ’16
App Install on device fails with Xcode 8
When using Xcode 8, we are unable to install our app on a non-connected device.With Xcode 7, we can create a developer build archive, or a release build archive (for ad-hoc or enterprise distribution) and then create an IPA file which can be distributed via Fabric/Crashlytics, or iTunes to individual users.When we use Xcode 8, the build, the codesign, the archive and export to IPA file work flawlessly and report no problems.Then, when we attempt to install the app on a device, we get the following error as viewed on the device console log:Oct 14 16:47:30 iPhone-6 installd[3591] <Error>: 0x16e12f000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 142: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.GEf0BN/extracted/Payload/MyBigApp.app/Frameworks/CAP.framework : 0xe8008019 (The application does not have a valid signature.)Oct 14 16:47:30 iPhone-6 installd[3591] <Error>: 0x16e12f000 -[MIInstaller
Replies
3
Boosts
0
Views
5.5k
Activity
Oct ’16
Reply to copy on code sign, where does version come from?
This is a cross platform library built as framework for OSX and iOS, and the version tag is what it is to cover all platforms.Yeah, I thought you might be heading in that direction. What’s your deployment target for this framework? These days most macOS products (and all products on iOS-based platforms) are self contained. As such, there’s no point have multiple versions of the code nested within your framework, because the framework is embedded within an app that contains all of its client code.Moreover doing this is actively harmful:It makes the framework bigger than necessary.It puts you well off the beaten path, as you’ve discovered here.Regardless, if you want to keep going down with path you should check out the --bundle-version option to codesign. Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’16
Error -60005 creating authorization
Hello,Can anybody tell me what this error means?10/20/16 12:31:53.323 PM CoreServicesUIAgent[437]: Error -60005 creating authorizationI'm debugging some codesigning and I keep seeing it and I can't find any info on it Also, if you happen to know what this one means, I'd further appreaciate it!10/20/16 1:41:35.284 PM CoreServicesUIAgent[3107]: error -1 while removing quarantine data on path /Applications/PrintNode.app/Contents/Frameworks/Python.framework/HeadersThanks!
Replies
2
Boosts
0
Views
3.6k
Activity
Oct ’16
Reply to copy on code sign, where does version come from?
To be clear.I didn't write the frameworks. I am trying to incorporate frameworks that are available in source form. I am willing to fix either the framework or my inclusion so it includes properly. The version number identifier was selected by those that provide the framework. I am just trying to make it work.The frameworks pass all codesign verifications. The only problem is that xcode tries to sign the wrong location when sign on copy is checked. That is what I am trying to fix.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’16
Frustrating Bundle ID and code signing issue after adding WatchKit to existing app
So I'm an experienced iOS Dev, I've been building apps since 2009 and have never come across an issue as frustrating as this in all that time. I've raised this as a TSI request with Apple only for it to be bounced back to iTunes Connect who threw some documentation at me and then went dark.Here is my issue:My very first app created in 2009 has the app ID 467SNW7GHZ. At the time I was in way over my head and it was all I could get to work and although I've now learned to use com.company.appname etc this app unfortunately is stuck that way.Although this app is at version 2.3 and has had many updates over the years it hasn't been updated since 2013 and I've decided to make it 64-bit and contain a WatchApp and WatchExtension. I am not using App Groups and have no need for the entitlement.At present my bundle ID structure is like this:App: 467SNW7GHZ.WatchApp: 467SNW7GHZ.watchkitappExtension: 467SNW7GHZ.watchkitapp.watchkitextensionCompanion app ID: 467SNW7GHZ.WKAppBundle ID: 467SNW7GHZ.watchkitappThis issue I'm h
Replies
5
Boosts
0
Views
2.3k
Activity
Oct ’16
Scene Kit won't compile after adding an image resources
After I create a new Scene Kit Template Project (which compiles perfectly), and then add an image from my system to the art.scenassets folder, I get this error: Command /usr/bin/codesign failed with exit code 1.( Note: The file in this case is a .png.) Nevertheless, after I remove the image file and clean the project and confim the project does compile.. Then, when I add a different .png file (from the Apple Demo project (BadgerAdvancedRenderinginSceneKit)) the scene compiles, perfectly. I'm guessing my image contains some incompatable metadata, based on some iCloud reference on my system. I say this because I have other issues, that seem to be related to iCloud being on my system.
Replies
0
Boosts
0
Views
405
Activity
Oct ’16
Reply to Share security scoped bookmark in app group?
Also I have com.apple.security.files.user-selected.read-write to YES in entitlements.Did you just look in the .entitlements file? Or did you check the build binary? What does this show? $ codesign -d --entitlements :- /path/to/Your.app/Contents/PlugIns/YourExtension.appexShare and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’16
Codesign really slow since updating to sierra 10.12.1
Anyone else has this issue? What can be done to fix that?
Replies
19
Boosts
0
Views
13k
Activity
Oct ’16
Reply to Share security scoped bookmark in app group?
The output looks correct when running codesign -d -entitlements on the .appex<?xml version=1.0 encoding=UTF-8?><!DOCTYPE plist PUBLIC -/<plist version=1.0><dict> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.application-groups</key> <array> <string>APP_GROUP_IS_HERE</string> </array> <key>com.apple.security.files.bookmarks.app-scope</key> <true/> <key>com.apple.security.files.bookmarks.document-scope</key> <true/> <key>com.apple.security.files.user-selected.read-write</key> <true/></dict></plist>
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’16
Reply to macOS 10.12 and FileMaker
This issue occurs when DMG Files are not codesigned by the developer. To fix it you have to codesign your DMG as well as your Runtime solution.Thomas
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’16
Xcode 8.1GM fails to codesign .bundle with Resources dir
I've seen this error in the past but it's come back. 😟Here's what it spits out (redacted)CodeSign ~/Library/Developer/Xcode/DerivedData/...BundleName.bundle cd ~/.../Pods export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export PATH=... Signing Identity: - /usr/bin/codesign --force --sign - --timestamp=none ~/Library/Developer/Xcode/DerivedData/...BundleName.bundle ~/Library/Developer/Xcode/DerivedData/...BundleName.bundle: bundle format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1Have development pod with .bundle packages in the src. Those packages have directories named Resources. If we change it to anything else, the problem goes away.Worked fine on Xcode 8.0
Replies
39
Boosts
0
Views
16k
Activity
Oct ’16
Reply to Xcode 8.1GM fails to codesign .bundle with Resources dir
Same problem.Xcode 8.1CodeSign /Users/xx/Library/Developer/Xcode/DerivedData/ytb-hbgmbcbysyfddgackcqvvjbrkiba/Build/Products/Debug-iphonesimulator/Appirater.bundle cd /Users/xx/Desktop/xx/xx/Pods export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate export PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin Signing Identity: - /usr/bin/codesign --force --sign - --timestamp=none /Users/xx/Library/Developer/Xcode/DerivedData/ytb-hbgmbcbysyfddgackcqvvjbrkiba/Build/Products/Debug-iphonesimulator/Appirater.bundle /Users/xx/Library/Developer/Xcode/DerivedData/ytb-hbgmbcbysyfddgackcqvvjbrkiba/Build/Products/Debug-iphonesimulator/Appirater.bundle: bundle format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1
Replies
Boosts
Views
Activity
Oct ’16