I am trying to integrate Firebase in my iOS project without Cocoapods.I have followed all the instructions but I am getting a linker error on XCode8 beta2 as given below:
My framework dependencies look like following:
I would really appreciate if anyone could help me with this.
I just deleted the "Frameworks" Directory from the main project and every thing worked,
I think that those frameworks need to be recompiled after updating the XCODE or switching to swift 3 or choosing your team in the build settings
Related
I am trying to compile my Flutter project in Xcode 11.6, however it shows me the error -
ld: framework not found AppTrackingTransparency
All my code seems to be working fine, however after research I found out that this is something that is required for iOS 14, but if I download Xcode 12 I won't be able to publish my app in release mode as Apple doesn't accept builds from beta versions.
You either wait for the Xcode 12 official release or copy the AppTrackingTransparency.framework into the Xcode 11.6's frameworks folder
What worked for me was that I was using a pod that was only supported for Xcode 12 that contained the AppTrackingTransparency framework as it is now a requirement if you are integrating any API that is an ad network, so check if your pods have gotten updated automatically and downgrade it if you want it to work.
If you need help implementing the 'AppTrackingTransparency', you can refer to the following question:-
No such module 'AppTrackingTransparency' Error
Hope this solves your problem:)
I have been trying to build my game to iOS for quite some time now but whenever I try to build the project with GoogleMobileAds it won't work. The ads work fine on android but not on iOS. If i remove the GoogleMobileAds completely the project builds fine but not with the ads.
I have followed the documentation to the best of my ability but I just can't seem to get it to work. In the documentation it says that after building the Xcode project in Unity you should also get a Cocoapods workspace file but it doesn't seem to show up. What could I be doing wrong?
Thank you for any help you might give.
If any one happens to stumble upon this later and have the same problem. Here is how i solved it:
Unity would not generate a podfile for me like it says it should in the developer guide, maybe I haven't installed Cocoapods correctly. Regardless, in the end, the fix was quite easy.
I manually downloaded the Google Mobile Ads SDK and added it to the Frameworks folder in the Xcode project. (If you are more experienced with xcode/cocoapods than I am you could probably just write your own podfile that would do this for you)
Then I changed "Enable Modules (C and Objective-C)" to Yes in the Build Settings
Lastly I added "$(inherited)" to "Other Linker Flags"
After this everything compiled like it should and the ads worked fine.
EDIT: For more info on this particular bug, follow up with the Facebook Team here.
I have researched this intensely and have failed to find a solution. Never ran into this issue and now I can't seem to get passed this one.
Here is the error I am receiving:
Switch to Project: Pods, Target: ParseFacebookUtilsV4 and change that value there Allow Non-modular Includes in Framework Modules = YES
It seams by Downgrading to Xcode 7.2.1 allows me to compile without any errors. Seems to be an issue with FBSDKCoreKit and Xcode 7.3.
Fix: Downgrade to Xcode 7.2.1, clean and build.
In my project, I found that allowing non-modular frameworks was not the fix. I had some problems too after upgrading to 7.3, but it's working now. Make sure you are using the latest frameworks...if you are, delete all FBSDK frameworks, re-download the Facebook SDK, and add FBSDK OREKIT, FBSDKLoginKit (if needed), and FBSDKShareKit (if needed) ** Make sure to check the copy items if needed box **. Clean the project and build it. If using CoccoaPods, I would make sure the frameworks are updated to the latest version. Hope this helps!
I have been trying to send my application to apple for submission and it is my first experience about it. I have searched the errors and applied all suggested solutions. However none of the solutions didn't work for me. I got the error below.
I set the ios deployment target as ios 7.0 and later versions for both of the project target and Alamofire framework. Also, my Xcode version is 6.1.1 . However, I could not understand that why not working.
Could you help me please ?
Thank you for your answers
Best regards
Unfortunately, iOS 7 does not support frameworks. Here is some additional information about it. The known workaround is to add Alamofire to your project by dragging the Alamofire.swift file directly into your project.
A good way to track this type of usage in your project is to use Git submodules. You could also download a version and copy the file into your project, but then it gets more difficult to track what version you have compiled into your project.
This will build Alamofire into your project as though it was just another Swift file associated with your project.
This is also why most Swift CocoaPods are iOS 8 only.
So, last week I got some warnings on Xcode 5.1 beta and compile linking errors. It turned out to be related to the Google Analytics SDK that I had added to my project.
To resolve the issue I removed the Google library libGoogleAnalyticsServices.a from my build phases. I then went into Build Settings and removed the path to the Google Analytics under Library Search Paths - After that I readied the Google library and re-compiled. All errors solved.
However, every cople of hours / days this same error keeps coming back and I have to keep redoing the steps taken above. Rather frustrating.
I'm using Xcode 5.1 beta 5.
The erros in the build log that I get:
I suggest you to use xcode 5.02 stable version and then add google analytic accordingly then hopefully these errors will be resolved,