Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Codesign error in Xamarin Studio 5.9.7 (build 9) and Xamarin.iOS 9.0.1.18

I have upgraded Xamarin Studio to the latest version in the beta channel. When I try to run the app I get the following error:

Signing application
codesign -v --force --sign "[hex]" --entitlements "/Users/[username]/devel/git/[app]/bin/iPhone/Debug/[app].xcent" "/Users/[username]/devel/git/[app]/bin/iPhone/Debug/[app].app"
/Users/[username]/devel/git/[app]/bin/iPhone/Debug/[app].app: invalid resource specification rule(s)
codesign exited with code 1

Why could this be? And how can I get around it?

  • Xamarin Studio 5.9.7 (build 9)
  • Xamarin.iOS 9.0.1.18 (Business Edition)
  • Xcode 7.0 (8227) Build 7A220

The closest clue I got was https://forums.xamarin.com/discussion/28480/upload-to-appstore-failed-contains-an-invalid-key-cfbundleresourcespecification-in-bundle , but I can't find the option in Xamarin Studio mentioned.

like image 510
Roy Solberg Avatar asked Sep 18 '15 08:09

Roy Solberg


2 Answers

It's a known issue mentioned here. Partial workaround did the trick for me.

Non-public Bug 31424 - [Xamarin Studio] [iOS] Classic API on Mac only: "Resource rules files "" not found". Partial workaround: Enable "Project Options -> General -> Use MSBuild build engine (unsupported for this project type)" and clean and rebuild the project. (The MSBuild build engine does now work for many Classic API projects.)

like image 135
teahaige Avatar answered Sep 21 '22 13:09

teahaige


you have to edit the project *.csproj file with textedit and remove the xmlns="" in the

Then proceed with the answer from teahaige

like image 32
Gagagu Avatar answered Sep 17 '22 13:09

Gagagu