Executable name (AppName1.exe) and the app name (A

2019-02-16 09:06发布

问题:

I get the following warning in MonoTouch. How can I solve it? I want both to be named App1 but I can not find the right spot.

Thanks!

warning MT0030: The executable name (App1.exe) and the app name (App2.app) are different, this may prevent crash logs from getting symbolicated properly.

回答1:

The app name (App2.app) is taken from the name of the project. You can right-click the project and 'Rename' to change it.

The executable name (App1.exe) can be changed in the project's options (right-click -> Options -> Build/Output -> Assembly Name).



回答2:

Open the project options in Xamarin Studio and navigate to the "Build" section. Verify that Assembly Name in the Output Tab matches Application Name in the iOS Application Tab.



回答3:

Sorry to bump this old question, but I found the following two entries in the Info.plist:

<key>CFBundleDisplayName</key>
<string>AppName</string>
<key>CFBundleExecutable</key>
<string>AppNameX</string>

The CFBundleExecutable is where I had to fix my app name. I'm not sure, but it seems VS/XS settings do not change this entry in the file regardless.

Hope this helps ;)



标签: xamarin.ios