iOS build not working after testing 1.5 beta

iOS build not working after testing 1.5 beta
0.0 0

#1

@nantas I decided to test 1.5 so I did a backup of my Creator 1.3.2 and my game project.

I tested 1.5 and worked great (web and iOS). However, due to some performance issues on web version (fps went from 60 to 32) I decided to went back to 1.3.2.

This is happening on OSX 10.11.6

I kept version 1.3.2 on /applications folder and tested 1.5 from the download folder. Then I restored the backup of my game and opened it back with 1.3.2. I also deleted the /build folder and rebuilt it again. Then tried to build iOS version. But this time, nothing shows on screen and Xcode does not show any message.

this is the console output for Xcode and simulator shows a black screen (no debug, nothing).
Again, this was working great before I tested Creator 1.5 Beta

{
cocos2d.x.version: 1.3.2-lite
cocos2d.x.compiled_with_gl_state_cache: true
cocos2d.x.build_type: DEBUG
gl.supports_vertex_array_object: true
cocos2d.x.compiled_with_profiler: false
gl.renderer: Apple Software Renderer
gl.vendor: Apple Inc.
gl.version: OpenGL ES 2.0 APPLE-12.0.41
gl.max_texture_size: 4096
gl.max_samples_allowed: 4
gl.supports_ETC1: false
gl.supports_OES_packed_depth_stencil: true
gl.max_texture_units: 8
gl.supports_PVRTC: true
gl.supports_NPOT: true
gl.supports_OES_map_buffer: true
gl.supports_OES_depth24: true
gl.supports_discard_framebuffer: true
gl.supports_BGRA8888: false
}

2017-04-14 15:57:35.070 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:Wrapper: developerInfo.xml is not exist!
2017-04-14 15:57:35.072 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:loadALLPlugin(), Get the supported plugins: NULL
2017-04-14 15:57:35.072 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:UserDebug
2017-04-14 15:57:35.073 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:onActionResult(UserDebug,0,init successful!)
2017-04-14 15:57:35.073 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(UserDebug,32)
2017-04-14 15:57:35.074 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:IAPDebug
2017-04-14 15:57:35.074 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:onActionResult(IAPDebug,5,init successful!)
2017-04-14 15:57:35.075 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(IAPDebug,8)
2017-04-14 15:57:35.075 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:getPluginId() invoked.
2017-04-14 15:57:35.075 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:AnalyticsDebug
2017-04-14 15:57:35.076 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(AnalyticsDebug,1)
2017-04-14 15:57:35.077 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:AdsDebug
2017-04-14 15:57:35.077 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(AdsDebug,16)
2017-04-14 15:57:35.078 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:ShareDebug
2017-04-14 15:57:35.078 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(ShareDebug,2)
2017-04-14 15:57:35.079 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:SocialDebug
2017-04-14 15:57:35.079 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(SocialDebug,4)
2017-04-14 15:57:35.080 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:PushDebug
2017-04-14 15:57:35.080 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(PushDebug,64)
2017-04-14 15:57:35.081 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:CrashDebug
2017-04-14 15:57:35.081 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:configDeveloperInfo (null) invoked.
2017-04-14 15:57:35.082 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(CrashDebug,128)
2017-04-14 15:57:35.082 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:RECDebug
2017-04-14 15:57:35.083 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:configDeveloperInfo invoked!
2017-04-14 15:57:35.083 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:onActionResult(RECDebug,0,Init success)
2017-04-14 15:57:35.083 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(RECDebug,512)
2017-04-14 15:57:35.084 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:CustomDebug
2017-04-14 15:57:35.084 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:onActionResult(CustomDebug,80000,CUSTOMRESULT_CUSTOMEXTENSION)
2017-04-14 15:57:35.085 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(CustomDebug,256)
2017-04-14 15:57:35.085 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:create plugin:AdTrackingDebug
2017-04-14 15:57:35.086 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:createPlugin(AdTrackingDebug,1024)
2017-04-14 15:57:35.086 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:debug:initInfo
2017-04-14 15:57:35.087 GuildsAndRealms-mobile[11627:160056] FLQG_LOG:verbose:1M2djUiJnZthHZWlmM2NGbipzTwEEV1Y0R5xlWZdDbyEHZ5kmeKFTMUFkZx4VUCF0UmxWMNlTeqRHTNN2VwFUNkRDazEXWSBmMzJDNaJEdWZmW5omM3JVMZdTNVVFU1A1azRTVZJGathmY1wmRwJUOaRTNUBzTrVEVz90akdjdGljY5A2VsFVMQVDUrVHVVN2R2RUOiZzdHljYGBVb5pVOiRzTwEEV1Y0RoxFZidlZtZnYGRFVIpVMkd2cIxkWOJWbTJlUad0cYZnYNR2VpJVOhdHbIhHTSZmMmJFeidzaUlkWx8FMGRUNMd0bX5XW1U1VmpGei1EdUZkWx8FMGRUNMdGaXRmYWZWb5RjVjJmdqxnYwgkazxTQZJGathmY1wmRwIVOlhEbVJDUQVGVtWZA%3D%3D
cocos2d: fullPathForFilename: No file found at script/jsb_prepare.jsc. Possible missing file.
cocos2d: fullPathForFilename: No file found at script/jsb_boot.jsc. Possible missing file.
Cocos2d-JS v3.14
(evaluatedOK == JS_FALSE)
/Users/Josep/Library/Developer/CoreSimulator/Devices/874229EF-56B7-4BF4-9B09-75812C6683B0/data/Containers/Bundle/Application/60924CAF-63F1-4658-A315-5FD44A4576A0/GuildsAndRealms-mobile.app/src/jsb_polyfill.js:28044:TypeError: cc.game is undefined

Evaluating main.js failed (evaluatedOK == JS_FALSE)
2017-04-14 15:57:35.444 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.444 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.446 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.448 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.450 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.450 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.452 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.452 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.453 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.454 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.456 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.456 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.458 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.458 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.459 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.459 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.461 GuildsAndRealms-mobile[11627:160056] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found. Did find:
/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2017-04-14 15:57:35.461 GuildsAndRealms-mobile[11627:160056] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7c0a7f50 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2017-04-14 15:57:35.467 GuildsAndRealms-mobile[11627:160056] cocos2d: surface size: 640x960

I tested it again with 1.5, and I can build the iOS and everything works great. So the problems is with 1.3.2. What can I do?

Update: I tried to compile > build > play from Creator and it worked. But Im still unable to get a working version building from Xcode

@walzer that is a clear example of the problems we are facing. We are happy yo help you create a fantastic product, but we need you support too.

Thanks!

Update 2: I managed to build iOS again from Xcode but I had to change the template from “link” to “binary”. It seems that updating to 1.5 messed up the “link” template and thats why I can use it again with 1.3.2.