Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
343 views
in Technique[技术] by (71.8m points)

xcode - 我的应用程式发生Xcode错误(Xcode Errors with my app)

My app downloaded onto my iPhone successfully, but when I tap on it, the app closes almost immediately when it pops up.

(我的应用程序已成功下载到我的iPhone,但是当我点击它时,该应用程序在弹出时几乎立即关闭。)
This error occurs when I build the app:

(构建应用程序时发生此错误:)

/Users/myname/Library/Developer/Xcode/DerivedData/Unity-iPhone-gjmiflxpbqhnrhdimckrauaacamp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Script-033966F41B18B03000ECD701.sh: line 2: /Users/camerongenao/Downloads/IITSEC-2/MapFileParser.sh: Permission denied

(/Users/myname/Library/Developer/Xcode/DerivedData/Unity-iPhone-gjmiflxpbqhnrhdimckrauaacamp/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Script-033966F41B18B03000ECD701.sh:第2行:/ Users /camerongenao/Downloads/IITSEC-2/MapFileParser.sh:权限被拒绝)

  ask by Cameron Genao translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

You can run the command man chmod for more details about chmod, but you should be able to run this command on the OSX machine:

(您可以运行命令man chmod以获取有关chmod的更多详细信息,但是您应该能够在OSX计算机上运行此命令:)

chmod a+x /path/to/MapFileParser.sh

dont forget to restart X code again as well "a+x"..

(不要忘记再次重新启动X代码以及“ a + x”。)

It works for me.......

(这个对我有用.......)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...