Search results for

Xcode

92,321 results found

Post

Replies

Boosts

Views

Activity

how can i do programmig in xcode?
I am using Xcode for programming in c++ language 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 MacBook Pro And this is the problem: Ld /Users/lamiaa/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-awfbaiszjqjdyzfyhvlstvnfm
5
0
957
Feb ’21
Xcodes error
xcode→Archive →result his bundle is invalid. The value of the CFBundleDocumentTypes key in the Info.plist must be an array of dictionaries, with each dictionary containing at least the CFBundleTypeName key. (ID: (something)) My Xcode versions 14 What do I this error? (I'm a Japanese.I'm sorry that it was hard to understand.)
1
0
1.3k
Aug ’23
Xcode is freezing
Xcode is freezing and closing the app. Because of Xcode sometimes my battery drains very fast and my Mac is getting hot. I went to apple and they said there is no hardware problem. They also said probably it is because of the app. I reinstall it but it did not change. Also my friend has the same problem. What can I do?
0
0
265
Nov ’23
Reply to In the past, it was possible to set the editor in such a way that ...for(i=0;i<n;++i){instruction1;...instruction k;} can be replaced by for(i=0;i<n;++i){...}. It was very convenient to compact the edition. However, such functionality doesn't seem to exis
>> I think the question is about code foldingIn that case, the answer is:Currently (in Xcode 9.x), you can't code-fold loops in Objective-C source files. You can only fold functions, methods and classes. (Nobody knows why — maybe this will come back in the future).In Swift, you can fold any scope defined by braces ({ … }), but the code folding ribbon is gone. You have to use the functions on the Editor -> Code Folding submenu, or their keyboard equivalents such as Command-Option-Left/Right Arrow.
Dec ’17
C unions in Xcode 7.1
I wanted to play with unions imported from C in Xcode 7.1 beta 2, but can't get it to work. This is what the relase notes say:Field getters and setters are now created for named unions imported from C. In addition, an initializer with a named parameter for the field is provided. (19660119)And here's what I did:Create a OS X command line project in Xcode 7.1.Create a new C file and add it to the project. Say yes when Xcode asks you to create a bridging header.Add the following code to the C header (taken from the release notes):typedef union IntOrFloat { int intField; float floatField; } IntOrFloat;Include the C header in the bridging header.In main.swift, try to create a variable of the union type:let x = IntOrFloat(intField: 10) // error: Extra argment 'intField' in callAccording to the release notes, this should work, but it doesn't. If I look at the interface Swift generated for the C header, I get this:public struct IntOrFloat { public init() }But it s
4
0
570
Oct ’15
Reply to How to improve MPSMatrixMultiplication performance?
Hi, Just today I was compiling the code by swiftc -O test.swift. The swiftc version is 5.4 from the most recent 12.5 Xcode distributed along with macOS Big Sur 11.3. Now I only get 119 GFlops. In 11.2.x I got 4500 GFlops with exactly the same code on my Mac Pro 2019 with AND Radeon Vega II. Does anybody else observes the same behavior? Best regards
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’21
Xcode 6.4 won't launch because Xcode 6.4 is required
OS X 10.11 15A204h. Xcode 6.4 has a white slash through the icon. When I try to run it, I get this:In order to open Xcode, you need to update to the latest version.The version of Xcode installed on this Mac is not compatible with OS X El Capitan. You have Xcode 6.4. Download version 6.4 for free from the Mac App Store.I'm guessing I need a newer version of Xcode, and the error message is wrong?
3
0
531
Jul ’15
Xcode 10.2 crash
So I made sure everything was up-to-date, cleared caches, rebooted, etc., but the Xcode 10.2 beta crashes. An abort because it thinks I'm not running on a Mac?Process: Xcode [345] Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 10.2 (14490.87.2) Build Info: IDEFrameworks-14490087002000000~23 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [345] User ID: 501 Date/Time: 2019-01-25 08:19:48.497 -0500 OS Version: Mac OS X 10.14.3 (18D42) Report Version: 12 Anonymous UUID: ED194AC4-596B-E927-5E4C-E3EAD903B324 Time Awake Since Boot: 43 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: ProductBuildVersion: 10P82s ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Source
1
0
2.4k
Jan ’19
Why isn't xcode updating?
I have used Xcode for a while, but, I decided to update Xcode. I did this because Xcode didn't support iOS 9.3. I have tried and tried to update Xcode directly from the app store but have had no success. Does anyone know why Xcode won't update from the app store? 😢
1
0
319
May ’16