appodeal/appodeal-ios-demo

symbol(s) not found for architecture arm64

Closed this issue · 13 comments

XCODE 7.3.1
project on Swift
BITCODE=NO
VALID_ARCHS = armv7 armv7s arm64

Appodeal added without cocoapods

Undefined symbols for architecture arm64:
"OBJC_CLASS$_CBUUID", referenced from:
objc-class-ref in Appodeal(flat-arm64)
"OBJC_CLASS$_CBCentralManager", referenced from:
objc-class-ref in Appodeal(flat-arm64)
"_CBCentralManagerOptionShowPowerAlertKey", referenced from:
l936 in Appodeal(flat-arm64)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

how can I fix it?

please add CoreBluetooth.framework

add CoreBluetooth.framework

and now:

duplicate symbol OBJC_CLASS$_PodsDummy_Pods in:
/Users/dimagubatenko/Library/Developer/Xcode/DerivedData/AppPay-fatmwrkfyyuuzwalsoqsryadfxxz/Build/Products/Debug-iphoneos/Pods.framework/Pods(Pods-dummy.o)
/Users/dimagubatenko/Xcode projects/AppPay/Appodeal.framework/Appodeal(Pods-dummy.o)
duplicate symbol OBJC_METACLASS$_PodsDummy_Pods in:
/Users/dimagubatenko/Library/Developer/Xcode/DerivedData/AppPay-fatmwrkfyyuuzwalsoqsryadfxxz/Build/Products/Debug-iphoneos/Pods.framework/Pods(Pods-dummy.o)
/Users/dimagubatenko/Xcode projects/AppPay/Appodeal.framework/Appodeal(Pods-dummy.o)
ld: 2 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Are you use cocoa pods in your project?

It's possible to integrate Appodeal Sdk via Cocoa Pods?

I try but xcode show error "include of non-modular header inside framework module"

What version of cocoa pods are you use?

0.39.0

What version of Appodeal are you use by cocoa pods?

pod 'Appodeal', '~> 0.10'

Appodeal 0.10.6

error "Appodeal.h:12:9: Include of non-modular header inside framework module 'Appodeal''"

when i run this steps, error gone :

  1. clean project -> delete derived data -> clean project again
  2. remove *.xcworkspace
  3. remove Podfile.lock and Pods directory
  4. update cocoapods to 1.0.1
  5. add target to Podfile
  6. run pod install then pod update

Thanks for help)