Having trouble loading Unity Xcode onto phone - iphone

I successfully created my first Unity program and successfully built it in Xcode, but it fails to load on my iPhone Xr. It creates the icon, the screen on my phone turns black/brown, then the app fails and I get the following message in Xcode. I tried clean and delete all derive data, but the issue persists. What am I doing wrong?
360Project004[633:99382] Error loading /var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found. Did find:
/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework'
/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: stat() failed with errno=3
/private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework'
2020-02-01 01:19:04.463850-0800 360Project004[633:99382] Error loading /var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found. Did find:
/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework'
/private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/0D37C95B-6B87-4389-B2EA-8BB6584D3253/360Project004.app/Frameworks/UnityFramework.framework/UnityFramework'

I faced the same issue and after going through the forums I came across that at the moment you need the paid Apple developer account and that should do the trick. I am hoping Apple addresses this issue soon.

Related

EXC BAD ACCESS After Coding Signing

My App is using a custom C++ library and it was working perfectly fine before I enable Automatically manage signing, however, when I enable it I will get EXC_BAD_ACCESS error Thread 1: EXC_BAD_ACCESS (code=50, address=0x1011ff000) (see screenshot).
Why this is happening and how to debug it?
I tried to use the debug guide here to find the Zombie Object but nothing shows up.
UPDATE the issue was caused by invalid code sign in a framework I used in the app. The solution can be found at How to fix dylib with invalid signature?

Unable to run app in Simulator Xcode 6

Yesterday i was testing my app in the iOS simulator and everything was working fine. I then decided to run the app on my iPhone and i got the error unable to install application, Unknown error occurred this has happened before so I cleaned my build folder (as this has fixed this issue before) however, the same error occurred. I then ran the app in the iOS simulator again and now i get the error Unable to run app in Simulator, An error was encountered while running (Domain = LaunchServicesError, Code = 0). I find this very weird as i didn't change anything besides trying to run the app on my iPhone. I have tried every solution given on this post and still no luck.
I'm sorry if my question doesn't contain much detail but as I said I didn't change anything and it was building and running fine a minute before plugging in my iPhone and trying to run it on there.
Any help would be much appreciated.
edit
I tried running other projects (with and without extensions) and they are working on both simulator and iPhone, therefore the problem must be within my project. (my project does have a today extension)
In that kind of cases I usually :
Product > Clean
Close xCode
Delete the Derived Data (in ~/Library/Developer/Xcode/DerivedData subfolders)
Delete the app on the iPhone
Reboot the iPhone
Restart and rebuild
I had this problem. In my case, it was caused by the Build value being blank. After putting a value there, and resetting the simulator once more, the issue went away.
I had the same problem and checking the system log carefully helped me to identify a coliding library that was causing this error. You can also check this answer if you are using extensions.
Generally it means there is a problem with the build, it may be due to old cache (solved by a clean build) or a project definition error (missing library, bad definition in info.plist, etc).
In my case it happened only on iOS 8, turns out that my widget had the wrong bundle ID.

my xcode organizer is disabled and all organizer are grey can NOT choose them

this happens after an error that appears in organizer several time when running the program in Xcode.
the error is Xcode has encountered an unexpected error (0xC011).
any help to guide me get rid of this problem this is highly appreciated
Even when its too late but maybe for somebody else. The problem is either in your computer nor in your xcode. You must check the way you are saving the data in the files ( saving from two resource at the same file). error (0xC011) is for logging data in files.
Check your code, then delete the app. from your device then start it. It will work.
I just restarted my computer and the organizer is working now, However,the error is appearing again that is:
Xcode has encountered an unexpected error (0xC011) ‘file
exists/SourceCache/DTDeviceKit/DTDeviceKit-2083/DTDeviceKit/DTDKApplication.m:14‌​74

Barcode Reader using scandit sdk

I am using the Scandit SDK's barcode scanner. I followed all the instructions, ran the demo "Project" supplied by "Scandit", but it crashed when clicking on any button. Is this an iOS related problem?
I made sure to include the "APP Key" provided by "Scandit". Please help.
This is Christian from the Scandit support team.
The problem you describe is most likely a problem with the app key integration.
Can you double-check that you added the app key correctly for our iOS barcode scanner to your xcode project?
If you continue to have problems, feel free to also send us an email at Scandit support.
Error:
wait_fences: failed to receive reply: 10004003
Scandit SDK activation failed (Error 403). Make sure your app key is valid and check your account for available device activations.
Ideas ?
UPDATE: Obvious it's a problem with the app key, but i can;t tell what is. I used the app key from https://ssl.scandit.com/account/apps .

Unknown type name 'Facebook'

I just tried incorporating the FB SDK into my app as described online.
I made it to the point where they say to test the app but I had 23 errors, most of which were parse issues that said unknown type name 'Facebook'.
This image shows the sdk as installed in my project.
This image shows some of the errors.
Any ideas??
Josh