Search results for

Xcode

92,318 results found

Post

Replies

Boosts

Views

Activity

C++ in Xcode
I am trying to make a command line tool with C++ inside of Xcode and at the top I need to have: <includeWinuser.h>, and <includewindow.h>, but Xcode keeps telling me that they don't exist?!?! The other 2 that I am including are: <includefstream>, and <includeiostream> [and those 2 are in the Xcode library and they work fine]?!?! So, is it because I am not using windows, or do I need to use another template instead of Command Line tool.Hope I wasnt confusing here, but that is the problem. How can I fix it? I really could use getting this fixed so I can get started in my project.
8
0
4.2k
May ’17
Reply to Why wrong window size:
I think I'm seeing the same thing. I am getting screen dimensions of 320.0 X 480.0 when I call UIScreen.mainScreen().bounds in portrait orientation, regardless of whether I use iPhone 4S, iPhone 5 or iPhone6 simulator. I expect these dimensions on iPhone 4S, but not on the other platforms. On the 5 and 6, the app presents with black bars at the top and bottom. My code was working correctly prior to iOS 9 / XCode 7 / OS X 10.11 / Swift 2.0.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Xcode
Trying to download certificats in Xcode for an Individual account and when the 2 factor authentication code is inserted getting: This device is already associated with other accounts in Apple developer program or in apple developer enterprise program . Please use different device Any suggestions how to bypass this?
1
0
734
Jun ’22
xcode promblem
I'm using Xcode for programming in c++ alanguage But when I type the code and hit run it tells me there is a problem How can I solve it? I am a beginner in computer and programming My device is a MacBook Pro And this is the problem Ld /Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug/c normal x86_64 (in target 'c' from project 'c') cd /Users/lamiaalkhunini/Creative Cloud Files/c /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug -F/Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbaiszjqjdyzfyhvlstvnfmpbe/Build/Products/Debug -filelist /Users/lamiaalkhunini/Library/Developer/Xcode/DerivedData/c-awfbai
0
0
316
Feb ’21
Reply to Swift SDK compiled with Xcode 8 don't work with an application on Xcode 9
You can't mix code compiled with different versions of the Swift compiler. Xcode 8 and Xcode 9 have different versions of the Swift compiler. Note that different version refers to the entire version number. (For example, Swift versions 4.0.0 and 4.0.1 are different versions.) That's why your code won't work.However, the statement you quoted isn't referring to different versions of the Swift compiler, but different versions of the Swift language. Roughly, the language version changes when new, incompatible syntax is introduced.The versions of the Swift compiler in Xcode 9 support language versions 4.0 and 3.2. (Before language version 4 existed, there were language versions 3.0 and 3.1.) So, the way you mix Swift 4 and Swift 3 targets in one project is to migrate the Swift 3 targets to language version 3.2.But you have to do it all within a single version of Xcode 9.x.
Nov ’17
Compiling with Xcode 12 Beta 4
I have a iOS framework which has the following snippet of code : CTTelephonyNetworkInfo *netinfo = [[CTTelephonyNetworkInfo alloc] init]; CTCarrier *carrier = [netinfo subscriberCellularProvider]; In Xcode 11.x compiling target had a Generic iOS Device option and I am able to create a fat framework which includes the simulator pieces. However in Xcode there are 2 targets one for arm64 and the other for Intel and Apple Silicon. How do I create a fat framework here?
1
0
453
Aug ’20
Xcode 13.1?
Apple's automatic update of Xcode 13.1 to 13.2 broke two of my projects and I'm dead in the water. I was using the App Store version. Is it possible to download Xcode 13.1? All I can find is 13.2.
3
0
821
Dec ’21