React-Native: Library not found iOS - ios

I encounter a wired error. I am getting Library not found for -lBase64. I checked all the settings for iOS. I checked if Library is missing in Link Binary With Libraries, checked for twice entries in Header Search Path and Library Search Path. But it seems everything is working fine.
The error occurs only when I tried to build with Release mode. You can check the attached screenshot for error.

Related

ionic app archive failing in xcode 7.2 due to ‘Cordova/CDVViewController.h’ file not found

I am developing an ionic app for iOS and it is building fine, but when I archive it in xcode, it is throwing "‘Cordova/CDVViewController.h’ file not found" error in xcode 7.2.
I have tried usual suspects such as solution suggested in https://forum.ionicframework.com/t/cordova-cdvviewcontroller-h-file-not-found-in-xcode-7-1-beta/32232, but nothing worked. I have also tried archiving in xcode 7.1, 6.4 but the same error exists. I am using ionic 1.2.4.
Some of my project screenshots (if it helps)
let me know if you need more info.
2 things to try
1st)
you have screen shotted your header search paths i don't see a path to Cordova
try adding $(SRCROOT)/WhereCordovaIS to the header search paths
also do the same for Library Search Paths
2nd)
In the Cordova Lib make sure the headerFiles that are missing 'CDVViewController.h' is included in the 'copy files build step' in BuildPhases
is in the copy
Hi #David I tried your answer. Didn't work. However, I tried ionic's weather app and it worked. So I thought the issue might be with my environment. I cut out js, css and views folder and put it in a fresh repo and it worked like a charm.

dylib missing on iOS application

I am trying to port a program made using OpenCV 2.4 (not 3) from OSX to iOS 7 (not 8, or 9)
I followed their tutorial, that worked until it complained of jpeg linking errors, I pasted the errors on google, and found on their issue tracker a solution, and a link to the jpeg library, I downloaded it, did all the steps correctly, and now it compiles and runs, but crashes on startup and complains with the following error:
dyld: Library not loaded: /opt/libjpeg-turbo/lib/libjpeg.62.dylib
Reason: image not found
I have no idea how to fix it
Go to your Project -> Target -> General -> Linked Frameworks and Libraries and try changing the status of the libjpeg.a library you linked to "Optional" instead of "Required".
I was having the same exact issue and changing the status fixed the crash for me. Not sure why.

Device not Receiving Notifications from Parse

I am facing this SO issue opened on github. I am getting the exact same stack trace. The last post says solution is to either add FacebookSDK or to remove ObjC flag from Linker settings.
Issue 1
I downloaded the FacebookSDK.framework from this Tutorial link and the build errors are vanished but I am still not able to get notifications.
No errors and no stack trace in logs.
Issue 2
The solution says to add FacebookSDK.framework to Xcode project. However, the latest SDK no longer contains the framework file. After I installed the pkg I have the files below
I added all files to the project but still no good.
Can any one please guide me to make Parse Work with iOS?
Note: Using Xcode 6.2 and iOS 8

iOS: adding Admob ads into app giving an error

My app was successfully running on both simulator and physical device. After adding AdMob into my app by following the instruction in this video , however, the app gives an error when building. I have tried several hours to look for the solution to this error, but could not find it. Do you have any suggestion for this? Thank you
ld: duplicate symbol _OBJC_CLASS_$_AppDelegate in /Users/joe/Library/Developer/Xcode/DerivedData/playSound-dxljeytitbiylehchltjsxksklbh/Build/Intermediates/playSound.build/Debug-iphoneos/playSound.build/Objects-normal/armv7/AppDelegate-B7F42A95B6FCD25F.o and /Users/joe/Library/Developer/Xcode/DerivedData/playSound-dxljeytitbiylehchltjsxksklbh/Build/Intermediates/playSound.build/Debug-iphoneos/playSound.build/Objects-normal/armv7/AppDelegate-B9769CE7F9C30755.o for architecture armv7
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1
Update:
Even I have not modified any code in my app, just add all the folder of 'GoogleAdMobAdsSdkiOS-6.1.4' in my project explorer as in the video, it then produces the error immediately. I am using xCode 4.2
This may be because 6.1.4 also comes packaged with a Google Analytics xcode project. Try making sure that you remove everything under the 'Add-ons' folder from being referenced in your project (unless you are using it).
You have multiple entries AppDelegate under Targets-Compiled Sources. Check it and ensure there is only one in Compiled Sources.

dyld isuess (Library not loaded)

I have this message when I build my project:
dyld: Library not loaded:
#rpath/iPhoneSimulatorRemoteClient.framework/Versions/A/iPhoneSimulatorRemoteClient
Referenced from: /Users/dev01/mobile/ios/Test/test/testTests/FoneMonkey/bin/iphonesim
Reason: image not found
This is dynamic link error and as I understand correct this error came because image not found. is this correct?
What steps should be taken to resolve errors?
I have found this link and as I understad this error came because I use xcode 4.3. Now I have try this on 4.2 and everething work good.
But I not have any idea how to run it on XCode 4.3
Maybe you have this problem after adding new library and you linked it in actual framework path, if you drag this library in embeded framework path then problem will solve. Another variant is that in build scheme you have enabled memory managment malloc, if you turn it off problem will be solved.
Check your SDK project settings (i.e. when passing from SDK 6.x to 7.x) maybe one of library was not compiled for architecture and project target. And the paths. Clean DerivedData and delete app from simulator (if it is there).
If you still need the Sdk just copy it from Xcode 4.6.(3) both for device and simulator and see if this solve your problem.

Resources