Adding Google Cast SDK to 64-bit build - ios

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).

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)

Problems running app in iOS 7 with CocoaPods in XCode 7

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

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.

Twitter library error : Undefined symbols for architecture x86_64:

I am using TwitterLibrary in one of my applications, Twitter log-in is working perfectly but as per the apple's requirement new apps can be submitted with 64bit support and build with IOS8+ SDK, so for this I added "armv7 armv7s arm64" in valid architecture in build setting in my target and project.After adding "arm64" I am facing following erros
"_OBJC_CLASS_$_OAConsumer", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
"_OBJC_CLASS_$_OADataFetcher", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
"_OBJC_CLASS_$_OAMutableURLRequest", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
"_OBJC_CLASS_$_OARequestParameter", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
"_OBJC_CLASS_$_OAToken", referenced from:
objc-class-ref in SA_OAuthTwitterEngine.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: unable to open executable '/Users/my-name/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/MYAPP.app/MYAPP'
I thing twitter library does not provide 64 bit support,its my guess i am not sure about it, but how can I remove twitter errors is there any way to short these errors?
Thanks a lot in advance..
Finally come to a solution Added latest Twitter-IOS-SDK using Twitter's new Xcode plugin named "fabric". New SDK is compatible with 64bit.
https://dev.twitter.com/twitter-kit/ios/configure

Resources