I developed a small SwiftUI app that uses FMDB as a framework. I've done this with several other apps in the past and encountered no problem. With this one, I ran into the problem that though it would run on my test devices and the simulator, it failed App Store upload with a message that signing the FMDB framework failed (using "embed and sign" option; this is a problem for another question, for sure). After lots of frustrating research and unsuccessful trial-and-error attempts, I decide to remove the FMDB framework and bring in the FMDB source, so I could get it to the App Store.
That seemed to work, as I can upload the app to the App Store and run it on simulators, but when I run the app on a device, I get the message, "dyld: Library not loaded: #rpath/FMDB.framework/FMDB" and accompanying stuff. I can find no remaining reference to the FMDB framework, but obviously Xcode can. I've cleaned the build folder, deleted derived data, deleted the app from the devices for a fresh install, cursed and moaned, and tried multiple devices.
Any ideas where to look to remove references to the FMDB framework? Ideas on why this is happening?
Related
I have been dealing with the same issue for a few days now. I'm unable to upload any app store connect files due to the libAgoraRTMWrapper file. To be clear, this entire app has been built through Unity using agora SDK. The reason for failure, according to XCode, is that the wrapper "doesn't have the correct file type for this location". Invalid Swift support.
This leads me to wonder if the libagoraRTMWrapper is even necessary. Yes, I would like to keep using RTM but not at the expense of several build failures.
As a sidenote, XCode does mention that the build is being made for iOS but the wrapper was built for iOS + iOS simulator. I don't remember ever specifying that but it could just be the way the SDK was initially imported.
this library is necessary for RTM to work. Do you have a custom build setting for the project? It is verified that the included SDK Demo works on iOS builds. Perhaps you can build that and compare the build setting to yours to find out what went wrong?
After cleaning the build and deploying the app for the first time (both on a physical device and a simulator), it works the way it's supposed to. But after I change something and redeploy, SkiaSharp (libSkiaSharp.framework) and Realm (realm-wrappers.framework) don't get added to the app bundle Frameworks folder.
Other frameworks get added as usual after redeploys, but these two don't.
I already tried to disable incremental builds and device-specific builds, and it didn't fix it. I don't have a clue why this is happening.
After updating to Xamarin.Forms 4.8 the issue was fixed.
I have a game which is made with Unity, using both Facebook and Vungle SDKs. This works fine for me in the Android build.
However, when I port this to an iOS project and try to build it, I am getting link errors. Looking through the errors I can see that one of either Vungle or Facebook is always missing. Moreover when i first make the XCode project it has Vungle SDK included but not Facebook and, if I build again to XCode it will have Facebook but no Vungle SDK.
Any subsequent builds come with Facebook only. I have tried many times to rebuild the project. Now is there a way that i could merge these two projects if at all it is possible?
This is giving me the link errors. Can any one tell me whether i am doing something wrong.
The screenshots for the images can be downloaded from the links below:
Also, I can see that Facebook is replaced by a StoreKit framework. Did anyone come across this issue?
It sounds like both SDKs are rebuilding the Xcode framework search paths / linked frameworks from scratch.
You might be able to get around the issue by exporting the project with Facebook included, and then manually adding the Vungle SDK framework into the Xcode project (outlined at https://support.vungle.com/hc/en-us/articles/204430550-Get-Started-with-Vungle-iOS-SDK).
Short Version: I'm having issues while archiving my application. The debug works, the archive doesn't. There is nothing to troubleshoot, anyone has ideas?
Log Version:
I have a hybrid worklight app, fully functional and archiving was working just fine until I've added MQA and I'm using iOS.
Versions are:
Worklight 6.2, MQA 6.3, Xcode 6.1, and iOS 8.1.2
Now I've added MQA following the steps here.
I've copied the framework into my project directory and added in the other_linked_flags a force load for it.
I've also added a few lines of code to for it to work following the same instructions. Basically everything works just fine when I run it from xcode. When I run the app that xcode deploys on iphone, it the app runs normally and MQA also works.
I only have some kind of problem when I try to archive the app to deploy it in a ad hoc environment.
When I do that the iPhone screen remains black after asking me which user it should use on the MQA. It seems that it can load the webview but can't load the html app.
Unfortunately this doesn't even generate a crash log an as such I'm left in the dark about what is happening.
Can someone give me some light on what can I do to troubleshoot this issue?
You may be trying to integration the wrong library into your project.
Right now it looks like you are working on a Hybrid app but try adding the native libraries into it, which is incorrect.
If you are working on a Hybrid app, you need to download the Hybrid SDK.
If you are working on a Native iOS app, you need to add the native library
There is a library specific to Hybrid apps. You can find it in the following link: http://www-01.ibm.com/support/knowledgecenter/SSFRDS_6.3.0/com.ibm.mqa.uau.doc/topics/t_download_wrklight_libraries.html?lang=en
All what is required is to do is removing the native library if added, and integrate the worklight SDK into the app code under the common folder in the main.js file.
I have an XCode project which copies SDL.framework to my app bundle and, up until recently, this worked fine. I could give my bundle to someone who didn't have SDL.framework and it would work. But yesterday a friend of mine said my app was crashing because it couldn't find SDL.framework. I removed SDL.framework from my /Library/Frameworks folder to test it on my machine and he's right. Even though SDL.framework exists in my bundle the app still crashes because it can't find it.
Why would this be? The only thing I can think of is that the last time I did a working build was on MacOS 10.6 and using XCode 3. I'm now on 10.7. I've tested a new build with XCode 3 and XCode 4 but both produce the problem listed above.
I had this happen to me the other day when I was building a tool for sending Email. I was linking against the Pantomime framekwork. Here are the settings that I had to set in order for it to start working and stop crashing with "could not find library" You can see where I have the framework in relation to the project files / workspace files.