Recently I am working on my new project on Xcode 6 with cocos2d-x 3.6
I created the cocos2d-x project using Terminal and I followed the steps of the tutorials below:
https://www.youtube.com/watch?v=qXqgSNUf9Cc
Obviously, the tutorial is not using Xcode 6.
Sorry for the screen capture because I can't explain the error
http://goo.gl/iyF3uC
My iMac is OS X Yosemite.
Please help me to fix my errors
Thanks.
Matthew
Looks like it is just warning, not error. You can avoid the warning by renaming variables passed as argument, like
Point(double x_, double y_) : x{x_}, y{y_} {}
Related
I'm new to KMM but I really wanna get into it. It is obvious that I will make a lot of mistakes during my journey. What makes me a little bit frustrated is, that I'm not able to translate given errors to the reason why it happen. I'm working on a M1 Mac mini.
It would be awesome if someone could show me how he / she would investigate the following issue:
Issue
Does anyone know what causes an error if I try to build iOS:
Task
> Task :shared:compileKotlinIosSimulatorArm64 UP-TO-DATE
./gradlew :shared:embedAndSignAppleFrameworkForXcode
Log
/Users/.../iosApp/ld:1:1: object file (/var/folders/yt/4pjlxzfn48n28yxvdsnrw6n40000gn/T/included3352453535999755831/libparticles.a(libparticles.SkParticleBinding.o))
was built for newer iOS Simulator version (15.2) than being linked (9.0)
I'm using the "Regular framework" approach.
What I already did
Checked the project of "9 occurrences because of the mentioning of iOS 9
I checked my versions, but maybe I have a Version mismatch somewhere in my Kolin code?
I created it freshly new
Gist
Full stacktrace:
https://gist.github.com/tscholze/6d67bc21a2b8e1bdc575e6b80ca8af2b
Hi after I've updated my mac to OS X 10.10(Yosemite) my project won't compile now. :(
I've tried to delete derivedata but still the problem occurs.
Here's the error
/Users/ronpelayo/loke/Boogiespot-iOS-Library/BoogieLibrary/BoogieSpot.xcdatamodeld: Compilation failed for data model at path '/Users/ronpelayo/Library/Developer/Xcode/DerivedData/BoogieLibrary-ddzzhhrbirmakmgvaskpalwekowx/Build/Products/Debug-iphoneos/BoogieSpot.momd/BoogieSpot 10.mom'
and here's the screenshot of my xcdatamodeId
I hope someone can help me with my problem I don't know what to do now :(
It appears that the problem is within OS X 10.10(Yosemite)
http://openradar.appspot.com/radar?id=6385584100605952
I've tried to compile my project in Xcode 6.1 and it's running now but I'm still investiging if it has bugs.
I downloaded an update of Xcode today. In my cocos2d 3.0 project it shows "unused function 'getBit'",
"unused variable 'action'" and "unused function 'v2fforangle'". I am really confused. Must I download some cocos2d updates or delete/change something?
Nothing's wrong with Xcode, nothing changed in your cocos2d code either. Update just turned on unused functions/variables/etc warnings. If it bothers you, you can turn it off in project settings.
I'm a beginner of iOS and Cocos2d. I've just integrated Cocos2d 2.1 with xcode 4.2 and using mac os 10.7.3. Just created my first sample application for Cocos2d and I've not written any single line of code but showing error. The errors are like..
Please help me to solve this.
So that's Cocos2D code that's not compiling?
It looks like they forgot to #import <CoreText/CoreText.h> or one of their own header files.
Is this a release version of the code?
When running a simple HelloWorld phonegap project ,
on iPhone 4 with 4.3.2 OS it works great
But when I tried to run it on iPhone 3 with 3.1.3 OS I have came across with a problem with the CoreMedia lib which i needed to 'weak' in the build settings.
Once I worked this one out, I came across with a whole new problem which I couldn't find a solution for:
dyld: Symbol not found: _UIAccessbilityAnnouncmentNotifcation
.... Excpeted in /SystemLibrary/Frameworks/UIKit.framework/UIKIT
Both Project and Target Deployment Target is 3.1
Any idea's?
Thanks in advance
Guy.
sorry for necromancing, i'm just answering if you still have this problem or someone else encounters it. The following solution may help:
This is covered in the README FAQ. Basically you need to weak link three frameworks for iOS 3.x:
1. CoreMedia
2. AVFoundation
3. UIKit
Try that and see if that solves your problem.
Source:
http://community.phonegap.com/nitobi/topics/ios_3_1_3_crashing_when_using_phonegap_with_xcode_4_uikit_problem?from_gsfn=true
Hope this helps!