PaystackHQ / paystack-ios

Paystack SDK for iOS. Accept Payments on iOS
http://paystack.com
MIT License
26 stars 31 forks source link

_OBJC_CLASS_$_PSTCKTransactionParams #6

Closed jaipreetSingh50 closed 7 years ago

jaipreetSingh50 commented 7 years ago

file was built for x86_64 which is not the architecture being linked (arm64)

i'm working in Xcode 8.1 in objective C. The library is working fine in the stimulater. When i try to run it on my device iPhone 6 (10.1)

Xcode shows the error ld: warning: ignoring file /Users/osx/Desktop/SAMagazine/Paystack.framework/Paystack, file was built for x86_64 which is not the architecture being linked (arm64): /Users/osx/Desktop/SAMagazine/Paystack.framework/Paystack Undefined symbols for architecture arm64: "_OBJCCLASS$_PSTCKTransactionParams", referenced from: objc-class-ref in SubscriptionViewController.o screen shot 2016-12-07 at 9 41 38 am

uchechukwudim commented 7 years ago

using Xcode 8.1.. getting error "PSTCKTransactionParams.h not found screen shot 2016-12-08 at 1 40 32 am screen shot 2016-12-08 at 1 39 42 am

"

ibrahimlawal commented 7 years ago

Hello @jaipreetSingh50 @uchechukwudim I just uploaded a release that should fix this. Kindly update to v2.2.0 . Please let us know if this fixes the issue.

jaipreetSingh50 commented 7 years ago

Hello @ibrahimlawal , thanks you update But Paystack.framework is missing in new release.

ibrahimlawal commented 7 years ago

Errr, I don't get. There's an attachment on the release page. Does that not work?

uchechukwudim commented 7 years ago

thanks for your response Lawal. what i downloaded was v2.2.0 still same error "PSTCKTransactionParams.h not found.

jaipreetSingh50 commented 7 years ago

hello i did not get the updated framework file in updated release. If that is not needed. Please tell me how can i fix the error in my project

ibrahimlawal commented 7 years ago

@uchechukwudim @jaipreetSingh50 Here is a direct link to the most recent build. Remember to delete any one you added to your project previously:

https://github.com/PaystackHQ/paystack-ios/releases/download/v2.2.0/PaystackiOS.zip

Michaelvons commented 5 years ago

Hello please i just got this error

Michaelvons commented 5 years ago

ignoring file /Users/michaeloshogbunu/WebstormProjects/vendeeReactNative/ios/Paystack.framework/Paystack, file was built for x86_64 which is not the architecture being linked (arm64): /Users/michaeloshogbunu/WebstormProjects/vendeeReactNative/ios/Paystack.framework/Paystack

SaadIEng commented 5 years ago

@jaipreetSingh50 @ibrahimlawal have the issue been fixed??? Paystack, file was built for x86_64 which is not the architecture being linked (arm64)