On 9 Oct 2014, at 21:46, Kyle Sluder <[email protected]> wrote: > On Thu, Oct 9, 2014, at 03:42 PM, Kyle Sluder wrote: >> The error seems pretty plain to me. The dylib doesn't contain a slice >> for your target hardware architecture. Are you building for only the >> active architecture (the ONLY_ACTIVE_ARCH build setting)? This is the >> default for debug builds. > > Bah, PushKit is part of the system frameworks. I wrongly assumed it was > a third-party thing. > > If a system framework was only delivered as a 32-bit binary, that seems > like a problem.
The output from otool shows all 3 slices:
$ otool -L
Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushKit.framework/PushKit
Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushKit.framework/PushKit
(architecture armv7):
@rpath/PushKit.framework/PushKit (compatibility version 1.0.0, current
version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation
(compatibility version 300.0.0, current version 1140.1.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1213.0.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
(compatibility version 150.0.0, current version 1140.1.0)
Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushKit.framework/PushKit
(architecture armv7s):
@rpath/PushKit.framework/PushKit (compatibility version 1.0.0, current
version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation
(compatibility version 300.0.0, current version 1140.1.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1213.0.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
(compatibility version 150.0.0, current version 1140.1.0)
Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/PushKit.framework/PushKit
(architecture arm64):
@rpath/PushKit.framework/PushKit (compatibility version 1.0.0, current
version 1.0.0)
/System/Library/Frameworks/Foundation.framework/Foundation
(compatibility version 300.0.0, current version 1140.1.0)
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version
228.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 1213.0.0)
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
(compatibility version 150.0.0, current version 1140.1.0)
Is this something I should open a radar about?
iain
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
