I tried the following with no success: set_property(TARGET target XCODE_ATTRIBUTE_PUSH_NOTIFICATIONS YES)
and set_xcode_property(${APP_NAME} PUSH_NOTIFICATIONS "YES")
I’ve noticed that installing v4 writes a few lines to .bash_profile. Will that impact my other existing v3 projects?
I’ve red that with v4 I MUST work with cmake. Is there a way around this? Once I install cmake, can I keep working in the normal way in my other v3 projects or will this impact all my existing projects?
Thanks,
Installing CMake doesn’t change anything. You can install multiple versions of Cocos2d-x side-by-side, but you can only use one at a time. On Windows, you can create a symbolic link to the version of Cocos2d-x you want to use, and I assume you can do this for Linux as well.
For example, say you have 2 installations, v3 and v4, as follows:
Any one knows?
Running into the same issue when I want to add the iCloud capability.
edit: I’ve done the following to integrate iCloud capability.
Go to your xcodeproj file, select your target -> signing & capabilities. Here you can manually add the iCloud capability and configure it. This will create an .entitlements file which you can load with CMake like this:
I changed “Build Active Architecture Only” from “Yes” to “No” in not only my game TARGET, but also PROJECT and all the TARGETS (cocos2d, ext_clipper, ext_convertUTF, ext_edtaa3func, ext_md5, ext_poly2tri, ext_recast, ext_tinyxml2, ext_unzip, ext_xxxhash, ext_xxtea, external), then it worked.
All symbols are placed in _batchNodes[1], and ‘return’ in this place cause to the Label could not be drawn.
I caught the issue when changed Label string content (from one language to another, but withing one .ttf).
The Label is drawn normal if set ‘continue’ instead of ‘return’.
@slackmoehrle How about release v4.1 & v3.17.3 with latest submitted PRs and latest iOS/xcode support out of the box? So we dont have to manually edit any cmake file or anything else.
Could somebody explane, why there is provided ES_AUTOHSCROLL flag for EditBox on Windows, but is not provided ES_AUTOVSCROLL ? It can be usefull in some cases to have opportunity to scroll vertically.