Estimote / iOS-Indoor-SDK

Estimote Indoor SDK for iOS
MIT License
484 stars 136 forks source link

CocoaPods and SDK v2.0.1 #14

Closed bartcallant closed 8 years ago

bartcallant commented 8 years ago

Regarding #13 :

The CocoaPod podspec is not updated to use the latest version of the SDK. I tried to update it, but that did not work.

I tried the following scenario's:

Undefined symbols for architecture x86_64:
  "_ESTBulkUpdaterFailNotification", referenced from:
      -[d2G3rnRv3eOl3OskIgf4GD j0xmiYDeetjApYp] in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_CLASS_$_ESTCloudAuthorization", referenced from:
      objc-class-ref in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_CLASS_$_ESTCloudManager", referenced from:
      objc-class-ref in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_CLASS_$_ESTCloudMapper", referenced from:
      objc-class-ref in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_CLASS_$_ESTEstimoteAccount", referenced from:
      objc-class-ref in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_CLASS_$_ESTRequestGetBeaconsPublicDetails", referenced from:
      objc-class-ref in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_CLASS_$_ESTRequestPostFormData", referenced from:
      _OBJC_CLASS_$_s0WkzU8ypb35yVLaFcS9zUSGNEdh0n4 in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_CLASS_$_ESTUtilityManager", referenced from:
      objc-class-ref in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_METACLASS_$_ESTRequestPostFormData", referenced from:
      _OBJC_METACLASS_$_s0WkzU8ypb35yVLaFcS9zUSGNEdh0n4 in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_ESTRequestPostFormData", referenced from:
      _OBJC_CLASS_$_s0WkzU8ypb35yVLaFcS9zUSGNEdh0n4 in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
  "_OBJC_METACLASS_$_ESTRequestPostFormData", referenced from:
      _OBJC_METACLASS_$_s0WkzU8ypb35yVLaFcS9zUSGNEdh0n4 in libEstimoteIndoorSDK.a(libEstimoteIndoorSDK.a-x86_64-master.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

So there is no problem with the SDK itself I think, but something with the podspec

heypiotr commented 8 years ago

Indoor SDK 2.0 requires Estimote SDK 3.8 or later. We're in the process of updating both podspecs to the latest versions, you can expect them shortly!

Mycek commented 8 years ago

@bartcallant CocoaPods were just updated. As Piotr mentioned we needed our main SDK to be updated as well. Safe flight!

MoseDien commented 8 years ago

I experienced this problem, and I found some projects use old EstimoteSDK.framework, use the latest file.