Skip to content

ios build error #2

Description

@sumayyavn

Hi azicchetti,

I need to use MECL Paypal for my application, I have followed the steps mentioned in the Readme.md document. But I run into this issue when ever i build the iOS app.

Undefined symbols for architecture armv7:
"_SCNetworkReachabilityGetFlags", referenced from:
-[Reachability connectionRequired] in libPayPalEC.a(Reachability.o)
-[Reachability currentReachabilityStatus] in libPayPalEC.a(Reachability.o)
"_SCNetworkReachabilityCreateWithAddress", referenced from:
+[Reachability reachabilityWithAddress:] in libPayPalEC.a(Reachability.o)
"_SCNetworkReachabilityCreateWithName", referenced from:
+[Reachability reachabilityWithHostName:] in libPayPalEC.a(Reachability.o)
"_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
-[Reachability startNotifier] in libPayPalEC.a(Reachability.o)
"_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
-[Reachability stopNotifier] in libPayPalEC.a(Reachability.o)
"_SCNetworkReachabilitySetCallback", referenced from:
-[Reachability startNotifier] in libPayPalEC.a(Reachability.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I tried some fixes in build settings but nothing worked. Can you please help me with this?

Also the link mentioned here doesn't work :
Download the PayPal library from: https://www.x.com/developers/paypal/documentation-tools/sdk

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions