Unity Xcode build AdBannerViewController.h file not found - ios

I'm attempting to build some existing Unity 4.6 projects in Unity 5 and Xcode 6.1.1 Unity build is successful. However when building the file in Xcode 6.1.1 I am getting the error AdBannerViewController.h file not found. The error is occurring in
Unity-iPhone/Libraries/Scripts/Front/NativeUIBinding.m. It is being imported and referenced in that file.
These appear to be unity developed files with no relevance to the app. Any idea why this header file would be missing? I searched the project but cannot find it and its a very simple two scene app that doesn't use ads.

Related

UnityFramework.framework contains disallowed file 'Frameworks'. Getting this error while getting Unity IOS build

On my Unity project, I took several builds before without a problem. However, in this build, I integrated Facebook SDK and then this error (image1) started appearing when I try to upload it after archiving it on the Xcode workspace.
I also tried to upload it with Transporter, but Transporter also threw errors (image2).
When I build the project for IOS unity creates some files and there I found a UnityFramework folder, I think this folder is the mentioned folder in the error. However, there are only 2 files in this folder and none is named "Frameworks"(image3).
Here are the build options of the project at Xcode workspace (image4):
With the Android build of the app, everything is okay. This issue appears only with the IOS build.
Try to set the Always Embed Swift Standard Libraries. to No
Yes, but Set the Always Embed Swift Standard Libraries in UnityFrameWork Build Settings, not in main app's Build Settings. That worked for me.

Firebase Crashlytics: Upload dSYM script blocks iOS app building and archiving

I integrated Firebase Crashlytics in one of my bitcode disabled iOS project. It's working properly if I remove upload dSYM script(see image 2). But if add it then app building process never get complete same thing happens for app archiving also.
I integrated Firebase Crashlytics in some other projects as well and all are working properly and used same configuration and scripts but only this app have issue.
Project Configuration -
Crashlytics version - 4.6.2
My project minimum deployment target - iOS 12
XCode version - 12.5 and Xcode 13
I checked my app bundle identifier it is proper in GoogleService-Info.plist. And path of GoogleService-Info.plist is also correct in script.
I have following scripts -:
Script 1.
Script 2.
Updated Crashlytics version from 4.6.2 to latest version 8.8.0. It solved the issue. But still I could not find any reason why older 4.6.2 is working in other projects but not working in only one project.

UnityAppController.h file not found

When I build my unity IOS app on Xcode through Unity 2019.2.9f1. UnityAppController.h file not found error occurred.
On Xcode, I can see there's UnityAppController.h file. However, when clicking the file, the script does not show up.
These sites below are what I referred. But Xcode still shows the same error. If there's anyone who's familiar with how to handle this issue, would you give some advice? Combatting with this error for days is exhausting.
Xcode file not found
'UnityAppController.h' file not found #53
/UnityAppController.h
Unity3D 4.2 building for iOS results in "AppController.h file not found" error
Importing unity xcode projet into existing xcode app projet
UnityのiOSでAppDelegateに処理を追加する
Just try to import unity facebook sdk package in your project:
step1: Download facebook unity sdk from Unity Facebook SDK
step2: import package in unity goto Assets/Import Package/Custom Package then locate your downloaded sdk.
step3: Now just build and run your project.

Onesignal Unity IOS Build Symbol not found error

I am developed a game with Unity3D and exported IOS build. Xcode build project succesfully but App crash on launch.
Firstly I got this error:
dyld: Library not loaded: #rpath/OneSignalXC8.framework/OneSignalXC8 Referenced from: /var/containers/Bundle/Application/xxxx
Reason: image not found
After this, I added OneSignalXC8 framework to embeded binaries and error changed.
dyld: Symbol not found: __TMaCs29_NativeDictionaryStorageOwner
Referenced from: /private/var/containers/Bundle/Application/xxxx.app/Frameworks/OneSignalXC8.framework/OneSignalXC8
Expected in: /private/var/containers/Bundle/Application/xxxx.app/Frameworks/libswiftCore.dylib
in /private/var/containers/Bundle/Application/xxxx.app/Frameworks/OneSignalXC8.framework/OneSignalXC8
After this error, I set "Always Embed Swift Standard Libraries" to "Yes". Like saying here: https://stackoverflow.com/a/43117611/793880
But still I got same last error. How can I solve this?
I am using Xcode 8.3.3
I am using Unity 5.6.1f1
Unity exporting Xcode Project not workspace
I am using Objective-C
Thanks
I deleted OneSignal folder from Unity project.
Download last released plugin package from https://github.com/OneSignal/OneSignal-Unity-SDK
Import Unity project and build.
Runnning successfully

Framework Error No such module found in Xcode 7 beta 2

I am facing the problem since Xcode 7 beta 2 but it was running perfectly in Xcode 6.4. I have my Frameworks folder in the project and it is in the project directory. This Frameworks folder contains all the frameworks needed, but when i import this framework i get error "No Such Module Found". I have even set the Framework Search Paths but i am not able to get rid of that error.
But i am able to run the application.

Resources