Cannot compile after using RNCryptor - ios

I am using RNCryptor from here. but cannot seem to get my app to compile correctly. I get the following errors in the log:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RNDecryptor", referenced from:
objc-class-ref in EncryptionTransformer.o
"_OBJC_CLASS_$_RNEncryptor", referenced from:
objc-class-ref in EncryptionTransformer.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone tell me whats wrong here?

I would guess you built RNCryptor for ARM but you're building your application to run on the Simulator (i386).

Related

I try to integration with zooz sdk in ios but it give some error, so please provide me a right solution

I try to integration with zooz sdk in ios but it give some error, so please provide me a right solution.
Ignoring File
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK,
missing required architecture x86_64 in file
/Users/xyz/Desktop/Zooz.com/ZooZSDK.embeddedframework/ZooZSDK.framework/ZooZSDK
(3 slices) Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_ZooZ", referenced from:
objc-class-ref in DemoZooZSDKViewController.o "_OBJC_CLASS_$_ZooZInvoiceItem", referenced from:
objc-class-ref in DemoZooZSDKViewController.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with
exit code 1 (use -v to see invocation)
Experienced the same issue when following the installation instruction on their Github. Finally, I've downloaded the source code and built using Carthage for all architectures. This allowed me to run on simulator and physical device.

Compilation error in react native

I am trying to build my react native project for release and i am getting the error:
Undefined symbols for architecture armv7:
"_OBJC_CLASS_$_RCTRootView", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
can some one help here please i cant figure it out.

Undefined symbols for architecture armv7: "_openat", referenced from: _vlc_openat in MobileVLCKit

I want to play online stream use vlc in iOS.
I find this
http://www.videolan.org/vlc/download-ios.html
to do that and can run SimplePlayback source code in simulator.
But when build it for iOS device, I get same error:
ld: warning: directory not found for option '-L"/Users/Data/Projects/B2/Document/VLCKit-2.2.0-rc1/Examples_iOS/SimplePlayback/../../build/Release-iphonesimulator"'
ld: warning: directory not found for option '-L"/Users/Data/Projects/B2/Document/VLCKit-2.2.0-rc1/Examples_iOS/SimplePlayback/../../build/Release-iphonesos"'
ld: warning: directory not found for option '-F/Users/ali/Downloads/build'
Undefined symbols for architecture armv7:
"_openat", referenced from:
_vlc_openat in MobileVLCKit(lt4-filesystem.o)
(maybe you meant: _vlc_openat)
"_fdopendir", referenced from:
_DirRead in MobileVLCKit(libfilesystem_plugin_la-directory.o)
_FileOpen in MobileVLCKit(libfilesystem_plugin_la-file.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can any one help me?
Thanks

RestKit no longer working ( symbol(s) not found for architecture i386 )

So I have an app that I have been developing over the past 2 years. This app uses restkit. All of a sudden it stopped compiling. Here is what I am getting.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_RKConnectionTestExpectation", referenced from:
objc-class-ref in libRestKit.a(RKMappingTest.o)
"_OBJC_CLASS_$_RKPropertyMappingTestExpectation", referenced from:
objc-class-ref in libRestKit.a(RKMappingTest.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I fixed this by removing the submodule and using cocoapods then recompiled and it worked.

Vungle SDK problems

I am trying to implement the Vungle Ad network to my app. I followed the documentation here. When I build and run, it fails with this:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_SKStoreProductViewController", referenced from:
objc-class-ref in libvunglepub.a(UIViewController+VGAppStoreViewController.o)
"_SKStoreProductParameterITunesItemIdentifier", referenced from:
-[UIViewController(VGAppStoreViewController) prepareStoreViewController:] in libvunglepub.a(UIViewController+VGAppStoreViewController.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any help will be highly appreciated

Resources