Answered
0
0

After updating to the latest FMOD distribution (1.05.14), the Xcode codesigning of our project fails. Since I haven’t changed anything else, it seems the two FMOD bundles are not codesigned in Xcode and fail to validate in Xcode. We used to be able to submit this project to the App Store for Testflight purposes. We build from Unity 5 and the game runs fine on all our devices in development builds.

Could this have to do with the latest distribution of FMOD for Unity 5? Can we rule out FMOD? Is there anything we can do to make sure that FMOD is signed properly? And what could be the cause of this sudden change? Or is Unity causing this problem, leaving FMOD unsigned?

This is the Xcode screen that implies that FMOD is not codesigned:
https://dl.dropboxusercontent.com/u/33929678/xcode-signing-fmod.png

Thanks for any help on this issue!

  • You must to post comments
Best Answer
2
0

Change the settings for fmod.bundle and fmodstudio.bundle in the Unity inspector window from “Any Platform” to “Standalone”.

Before
enter image description here

and after
enter image description here

  • You must to post comments
0
0

Update:
The error message isn’t informative as it cannot be read (https://dl.dropboxusercontent.com/u/33929678/codesign-error2.png).
However, these are the build log errors:

2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmod.bundle’>: Error Domain=NSCocoaErrorDomain Code=4 “Item at “/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmod.bundle” did not contain a “archived-expanded-entitlements.xcent” resource.” UserInfo=0x7ffb72ed7800 {NSLocalizedDescription=Item at “/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmod.bundle” did not contain a “archived-expanded-entitlements.xcent” resource.}
2015-03-20 09:51:02 +0000 [MT] [OPTIONAL] Didn’t find embedded provisioning profile for <DVTFilePath:0x7ffb754db820:’/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmod.bundle’>: Error Domain=NSCocoaErrorDomain Code=4 “No file at <DVTFilePath:0x7ffb6e5c63d0:’/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmod.bundle/Contents/embedded.provisionprofile’>” UserInfo=0x7ffb7545ffe0 {NSLocalizedDescription=No file at <DVTFilePath:0x7ffb6e5c63d0:’/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmod.bundle/Contents/embedded.provisionprofile’>}
2015-03-20 09:51:02 +0000 [MT] [OPTIONAL] Didn’t find archived user entitlements for <DVTFilePath:0x7ffb75180260:’/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmodstudio.bundle’>: Error Domain=NSCocoaErrorDomain Code=4 “Item at “/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmodstudio.bundle” did not contain a “archived-expanded-entitlements.xcent” resource.” UserInfo=0x7ffb7347db20 {NSLocalizedDescription=Item at “/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmodstudio.bundle” did not contain a “archived-expanded-entitlements.xcent” resource.}
2015-03-20 09:51:02 +0000 [MT] [OPTIONAL] Didn’t find embedded provisioning profile for <DVTFilePath:0x7ffb75180260:’/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmodstudio.bundle’>: Error Domain=NSCocoaErrorDomain Code=4 “No file at <DVTFilePath:0x7ffb7514a510:’/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmodstudio.bundle/Contents/embedded.provisionprofile’>” UserInfo=0x7ffb7540e1d0 {NSLocalizedDescription=No file at <DVTFilePath:0x7ffb7514a510:’/Users/account/Library/Developer/Xcode/Archives/2015-03-20/Unity-iPhone 20-03-15 10.50.xcarchive/Products/Applications/OurApp.app/fmodstudio.bundle/Contents/embedded.provisionprofile’>}

  • Peter Maasen
    Hey Sander, I've just encountered the same issue. Found any solutions for this yet? Would be much appreciated :-)
  • You must to post comments
0
0

Hi Peter,
No, unfortunately not yet. I installed Unity5 and Xcode 6.2 to a Yosemite machine but the same codesigning error occurs. I’ll post here if I’ve succeeded to build properly.
Best, Sander

  • Sander H.
    Yesterday I tried to get it to work, but to no avail. I cannot sign the FMOD bundles in a way XCode appreciates.
  • Peter Maasen
    That sucks. We can't be the only ones who use fmod from unity in a xcode project, can't we?
  • You must to post comments
0
0

If you remove the fmod and fmodstudio bundle from the ‘copy bundle resources’ in the build phases tab, there is no problem anymore.

Which is of course not a solution, but definitely points to fmod as (part of) the cause.

  • Sander H.
    Yes, now I can upload to the App Store without code signing problems and sound is working.
  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.