Problems running app in iOS 7 with CocoaPods in XCode 7 - ios

I have an app in iOS 7 and iOS 8. Now, I have adapted the app for watchOS 2 and iOS 9. I can't run the app in iOS 7 because I get some problems with pods in some clases. I have this error:
Undefined symbols for architecture armv7:
"_kPOPViewBounds", referenced from:
-[HomeFiltersCollectionViewManager animateAlphaToView:withDelay:bounds:] in HomeFiltersCollectionViewManager.o
"_AFQueryStringFromParametersWithEncoding", referenced from:
-[MNBBaseNetworkService requestWithMethod:path:parameters:] in MNBBaseNetworkService.o
"_OBJC_CLASS_$_AFImageCache", referenced from:
l_OBJC_$_CATEGORY_AFImageCache_$_AlternativeImageCacheForAFNetworking in AFImageCache+AlternativeImageCacheForAFNetworking.o
"_OBJC_CLASS_$_SDWebImageDownloader", referenced from:
objc-class-ref in MNPoiListDownloader.o
objc-class-ref in UIImageView+Blurred.o
objc-class-ref in MNBNotificablePoiList.o
"_OBJC_CLASS_$_SDWebImageManager", referenced from:
objc-class-ref in CampaingProvider.o
objc-class-ref in UIImageView+Blurred.o
objc-class-ref in IPadHomeViewController.o
objc-class-ref in IPadDestinationLandingCollectionViewManager.o
and many more...
I also have these warnings: (for example)
ld: warning: ignoring file /Users/../Library/Developer/Xcode/DerivedData/../Build/Products/Debug-iphoneos/libPods-AFNetworking.a, file was built for archive which is not the architecture being linked (armv7): /Users/../Library/Developer/Xcode/DerivedData/..b/Build/Products/Debug-iphoneos/libPods-AFNetworking.a
ld: warning: ignoring file `/Users/../Library/Developer/Xcode/DerivedData/../Build/Products/Debug-iphoneos/libPods-ARAnalytics.a, file was built for archive which is not the architecture being linked (armv7): /Users/../Library/Developer/Xcode/DerivedData/../Build/Products/Debug-iphoneos/libPods-ARAnalytics.a`
any a lot of more..
Anyone knows why I have this problems? I have tried with a test app and Everything works fine with WatchOS and Pods and iOS 7

Related

React Native zoom sdk ios error "Undefined symbols for architecture arm64: "_OBJC_CLASS_$_ZoomVideoSDKSessionContext""

I am adding react-native zoom SDK for audio/video calls from their official plugin Link
I have followed their documentation and installed SDK for ios. but when running the build from Xcode gets the following error.
Also according to their doc when we download the SDK for ios they will get two folders for device only and device and simulator, but these folders are not available in the downloaded zip.
can anybody have implemented the zoom SDK in react-native, can you tell me about its procedure?
Thanks in advance for your help
Edited Question for error code
Undefined symbols for architecture arm64: "_OBJC_CLASS_$_ZoomVideoSDKSessionContext", referenced from: objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o) "_OBJC_CLASS_$_ZoomVideoSDKVideoOptions", referenced from: objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o) "_OBJC_CLASS_$_ZoomVideoSDKAudioOptions", referenced from: objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o) "_OBJC_CLASS_$_ZoomVideoSDKInitParams", referenced from: objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdk.o) "_OBJC_CLASS_$_ZoomVideoSDK", referenced from: objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkAudioHelper.o) objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkLiveStreamHelper.o) objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkSessionStatisticsInfo.o) objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkUserHelper.o) objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkUser.o) objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkSession.o) objc-class-ref in libreact-native-zoom-video-sdk.a(RNZoomVideoSdkShareHelper.o) ... ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

uplaod image and video to amazon S3 (arm64 error)

My code is for uploading videos and photos, and it is working fine but when I put arm64 to valid architectures it displays the following errors
ld: warning: ignoring file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSRuntime.framework/AWSRuntime, missing required architecture x86_64 in file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSRuntime.framework/AWSRuntime (3 slices)
ld: warning: ignoring file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSS3.framework/AWSS3, missing required architecture x86_64 in file /Users/clicktraders/Desktop/On Going Projects/VideoUploading/AWSS3.framework/AWSS3 (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_AmazonS3Client", referenced from:
objc-class-ref in CLUploadService.o
objc-class-ref in SyncViewController.o
objc-class-ref in FirstViewController.o
"_OBJC_CLASS_$_S3CannedACL", referenced from:
objc-class-ref in CLUploadService.o
"_OBJC_CLASS_$_S3PutObjectRequest", referenced from:
objc-class-ref in CLUploadService.o
"_OBJC_CLASS_$_S3TransferManager", referenced from:
objc-class-ref in SyncViewController.o
objc-class-ref in FirstViewController.o
"_OBJC_EHTYPE_$_AmazonClientException", referenced from:
GCC_except_table1 in CLUploadService.o
"_OBJC_EHTYPE_$_AmazonServiceException", referenced from:
Kindly guide me whats wrong with that. #z3r0
Based on comments:
In the case you are using pre-built libXYZ.a, your static library wasn't compiled for 64-bit. You need a newer version. If you have source code, You can re-compile with support for 64 bit system.
All your linked frameworks must have 64-bit support. Your AWS framework version is old. You should at least have AWS SDK for iOS 1.7.0. It's the first version that supports 64-bit. Otherwise, your app won't be accepted to AppStore. You can get them from:
https://aws.amazon.com/releasenotes/iOS

AWS iOS SDK -> Missing Required Architecture x86_64

I'm trying to use the amazon AWS for iOS SDK but I keep getting several Apple Mach-O Linker errors in Xcode 6.1.1, this error happened when i'm trying to use iOS simulator iPhone 5s but it works fine on 4s simulator. Any help would be much appreciate.
AWS Framework I'm using is AWSiOSSDK v 1.7.0
ld: warning: ignoring file
/Users/xxx/Downloads/xxxios_app/FacebookSDK.framework/FacebookSDK,
missing required architecture x86_64 in file
/Users/xxx/Downloads/xxx_ios_app/FacebookSDK.framework/FacebookSDK (3
slices) ld: warning: ignoring file
/Users/xxx/Downloads/xxx_ios_app/AWSiOSSDK.framework/AWSiOSSDK,
missing required architecture x86_64 in file
/Users/xxx/Downloads/xxx_ios_app/AWSiOSSDK.framework/AWSiOSSDK (3
slices) Undefined symbols for architecture x86_64:
"_OBJC_CLASS$AmazonEndpoints", referenced from: objc-class-ref in
LoginViewController.o objc-class-ref in PhotoViewController.o
"_OBJC_CLASS$AmazonErrorHandler", referenced from: objc-class-ref in
LoginViewController.o objc-class-ref in PhotoViewController.o
"_OBJC_CLASS$AmazonLogger", referenced from: objc-class-ref in
LoginViewController.o objc-class-ref in PhotoViewController.o
"_OBJC_CLASS$AmazonS3Client", referenced from: objc-class-ref in
LoginViewController.o objc-class-ref in PhotoViewController.o
"_OBJC_CLASS$FBNativeDialogs", referenced from: objc-class-ref in
LoginViewController.o "_OBJC_CLASS$_FBRequestConnection", referenced
from: objc-class-ref in LoginViewController.o objc-class-ref in
PhotoViewController.o
https://stackoverflow.com/a/3949338/2245240
This happens when you add a framework to your project and unintentionally copy the framework into your project directory.
The fix is to check your project directory (where you store your project on disk) for any iphone SDK *.Framework files and delete them.
Project will build fine afterwards.

Adding Google Cast SDK to 64-bit build

Trying to build a universal 32/64-bit binary with the Google Cast framework (2.0 from here) produces this warning and several linker errors:
ld: warning: ignoring file [...]GoogleCast.framework/GoogleCast,
missing required architecture x86_64 in file
[...]GoogleCast.framework/GoogleCast (3 slices)
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_GCKDeviceManager", referenced from:
objc-class-ref in GoogleCastDeviceController.o
"_OBJC_CLASS_$_GCKDeviceScanner", referenced from:
objc-class-ref in GoogleCastDeviceController.o
"_OBJC_CLASS_$_GCKImage", referenced from:
objc-class-ref in GoogleCastDeviceController.o
"_OBJC_CLASS_$_GCKMediaControlChannel", referenced from:
objc-class-ref in GoogleCastDeviceController.o
"_OBJC_CLASS_$_GCKMediaInformation", referenced from:
objc-class-ref in GoogleCastDeviceController.o
"_OBJC_CLASS_$_GCKMediaMetadata", referenced from:
objc-class-ref in GoogleCastDeviceController.o
"_kGCKMetadataKeySubtitle", referenced from: [...]
ld: symbol(s) not found for architecture x86_64
Google was about three months late adding 64-bit support for Analytics, so I'm wondering if they've delayed the release of a 64-bit Cast framework as well.
Has anyone successfully built a 64-bit binary with this framework?
Per the release notes for 2.1.0.529 (released 3/25/2014):
64-bit builds are now fully supported
I updated the Google Cast framework in my project and was able to deploy to iPad Air and iPhone 5S.
The latest framework is available here (direct link).

xcode 5.0: Undefined symbols for architecture i386

I have done a lot of research but i didn't find any helpful thing.
I have following problem.
I am trying to make an app for school. till now it is working fine on simulator and on my iPhone 4 and on my iPad 3.
i have imported the 'RestKit' project to use it for the connection with my restful web service. (imported it with cocoa pods)
now i wanted to test it on the simulator on the 64-bit device (iPhone 5S)
but since i have added an open source project (ZBarSDK) for an QR-Code Reader i am getting this error.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_AFHTTPClient", referenced from:
objc-class-ref in TDOFTDatabase.o "_OBJC_CLASS_$_RKObjectManager", referenced from:
objc-class-ref in TDOFTDatabase.o "_OBJC_CLASS_$_RKObjectMapping", referenced from:
objc-class-ref in TDOFTDatabase.o "_OBJC_CLASS_$_RKResponseDescriptor", referenced from:
objc-class-ref in TDOFTDatabase.o "_RKMIMETypeJSON", referenced from:
-[TDOFTDatabase init] in TDOFTDatabase.o "_RKStatusCodeIndexSetForClass", referenced from:
-[TDOFTDatabase writeUser:] in TDOFTDatabase.o
-[TDOFTDatabase getMyID] in TDOFTDatabase.o
-[TDOFTDatabase loadAllDepartments] in TDOFTDatabase.o
-[TDOFTDatabase loadStations:atPos:] in TDOFTDatabase.o ld: symbol(s) not found for architecture i386 clang: error: linker command
failed with exit code 1 (use -v to see invocation)

Resources