distriqt / airnativeextensions

DEPRECATED: Original repository of the distriqt native extensions and is no longer maintained. Please see our site for the latest ANEs
https://airnativeextensions.com
2 stars 0 forks source link

Notifications: Undefined symbols for architecture armv7: (IOS) #324

Closed Markus116 closed 9 years ago

Markus116 commented 9 years ago

HI everyone, I use PushNotification and LocalNotification native extentions in my project. it works fine on Android but when we try to deploy version for IOS we got error on packaging

Error occurred while packaging the application:
Undefined symbols for architecture armv7:
     "_OBJC_CLASS_$_UIUserNotificationSettings", referenced from:
     objc-class-ref in libcom.distriqt.PushNotifications.a(PushNotificationsManager.o)
     objc-class-ref in libcom.distriqt.Notifications.a(Notifications.o)
ld: symbol(s) not found for architecture armv7
Compilation failed while executing : ld64

we did everything like in docummentation.

<iPhone>
<InfoAdditions><![CDATA[ <key>UIDeviceFamily</key> <array> <string>1</string> <string>2</string> </array> <key>UIApplicationExitsOnSuspend</key> <true/> ]]></InfoAdditions> <requestedDisplayResolution>high</requestedDisplayResolution> <Entitlements><![CDATA[ <key>get­task­allow</key> <true/> <key>aps­environment</key> <string>development</string> <key>application­identifier</key> <string>XXXXXXXXXX.com.name</string> <key>keychain­access­groups</key> <array> <string>XXXXXXXXXX.com.name</string> </array> ]]></Entitlements> </iPhone>

where set projectID instaed XXXXXXXXXX and real projectID instead com.name we use Flex 4.13.0-air-15.0 SDK.

Any ideas how to fix this?

Thanks!

marchbold commented 9 years ago

Hi,

Please make sure you are packaging against a recent version of the iOS SDK. Also please migrate to the new extensions as soon as possible. Your application may be rejected by apple if you're not using the new versions after February.

http://airnativeextensions.com

Regards