On Thu, Oct 9, 2014, at 03:25 PM, Iain Holmes wrote:
> Hi,
> 
> I have an iOS8 app that uses the native iOS WebRTC libraries and
> therefore must be armv7 or armv7s (as they haven’t got an arm64 build).
> I’m using PushKit for VoIP notifications and while this works great on 32
> bit devices, when we move to test it out on a 64bit device it crashes
> with this error from dyld
> 
> Dyld Error Message:
>  Library not loaded: @rpath/PushKit.framework/PushKit
>  Referenced from:
>  
> /private/var/mobile/Containers/Bundle/Application/7E61943D-4DA2-47FD-A668-260668DD2E19/Dupl.app/Dupl
>  Reason: no suitable image found.  Did find:
>  /System/Library/Frameworks/PushKit.framework/PushKit: mach-o, but wrong
>  architecture
>  Dyld Version: 353.5
> 
> Does anyone know what might be wrong with it and possible fixes?

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.

--Kyle Sluder

_______________________________________________

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]

Reply via email to