Executable name (AppName1.exe) and the app name (AppName2.app) are different

前端 未结 3 711
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-11 11:28

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:         


        
相关标签:
3条回答
  • 2021-01-11 12:07

    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).

    0 讨论(0)
  • 2021-01-11 12:09

    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.

    0 讨论(0)
  • 2021-01-11 12:12

    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 ;)

    0 讨论(0)
提交回复
热议问题