2016년 4월 15일 금요일

cocos2d-x The operation couldn't be completed Error

Cocos2d-x "The operation couldn't be completed" Error occurred on iOS porting


*My develop Environment

OS: Mac
Xcode : 7.3 version
Cocos2d-x : 3.10


*Problem

Error occurred picture.



The operation couldn't be completed (LaunchServicesError error 0.)

In my situation,
Error occurred that Resources file directory added using "Create folder references".

If add Resource directory using "Create groups",
Error occurred "Possible missing file."

*Try

- Try1
1. Xcode project, Product -> Clean
2. Simulator, Simulator-> Reset content and settings
3. Run
->Not Work.

- Try2
1. Check log "~/Library/Logs/CoreSimulator/CoreSimulator.log"
2. Can find this text


Apr 15 14:21:14  CoreSimulatorService[954] <Error>: Could not register service com.apple.coreservices.lsuseractivity.simulatorsupport: Failed to lookup com.apple.coreservices.lsuseractivity.simulatorsupport: 0x44e

Apr 15 15:15:30  com.apple.dt.Xcode[2667] <Error>: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=MissingBundleIdentifier, ErrorDescription=Bundle at path /Users/moon1000_mac_mini/Library/Developer/CoreSimulator/Devices$


Apr 15 15:27:01  com.apple.dt.Xcode[2667] <Error>: Error Domain=LaunchServicesError Code=0 "(null)" UserInfo={Error=MissingBundleIdentifier, ErrorDescription=Bundle at path /Users/moon1000_mac_mini/Library/Developer/CoreSimulator/Devices$

I think error key code is, MissingBundleIdentifier
Also

"Failed to lookup com.apple.coreservices.lsuseractivity.simulatorsupport"

can be key code.
google it, result of first doc.
http://stackoverflow.com/questions/26396166/unable-to-run-app-in-simulator
Resources directory rename to "app_data"

3.Run
->Not work.(no error, but can not find image datas at running app)

- Try3
1. Xcode, Simulator, computer reboot
2. run
->Not work.(no error, but can not find image datas)

I will try next time...

I hope you can save time using this try.
(It can help to your project because some situations can be helped)


Solved Link: http://pineoc.blogspot.kr/2016/04/cocos2d-x-operation-couldnt-be_18.html


댓글 없음:

댓글 쓰기

JIRA Plugin - ScriptRunner 소개 #2

관련 글 소개 #1:  https://pineoc.blogspot.com/2019/03/scriptrunner-1.html ScriptRunner 소개 #2 지난 글에서는 Behaviours를 보았고 다음 내용인 콘솔, 리스너 등을 ...