Search results for

“Xcode”

93,784 results found

Post

Replies

Boosts

Views

Activity

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
272
Nov ’23
Error while calling NWListener in xcode 10.1
I have xcode 10.1 and using mac os development target 10.14 While calling the below line it is giving following error listener = try! NWListener(using: .tcp, on: self.port) dyld: lazy symbol binding failed: Symbol not found: nwtcpcreateoptions Referenced from: /Users/radhika/Library/Developer/Xcode/DerivedData/test2-dizzlvivbbforkeiqgrkxldrweer/Build/Products/Debug/test2 (which was built for Mac OS X 10.14) Expected in: /usr/lib/libnetwork.dylib dyld: Symbol not found: nwtcpcreateoptions Referenced from: /Users/radhika/Library/Developer/Xcode/DerivedData/test2-dizzlvivbbforkeiqgrkxldrweer/Build/Products/Debug/test2 (which was built for Mac OS X 10.14) Expected in: /usr/lib/libnetwork.dylib Program ended with exit code: 9
2
0
336
Jul ’20
Reverting Xcode 12 autocomplete to Xcode 11 style
Is there a way to revert the Xcode autocomplete style to the Xcode 11 one? In Xcode 12, when typing, for example: UIFont( The autocomplete shows: () (descriptor:size:) (name:size:) Previously, it would show: () -> UIFont (descriptor: UIFontDescriptor, size pointSize: CGFloat) -> UIFont (name fontName: String, size fontSize: CGFloat) -> UIFont? Its really inconvenient not being able to see the input type of all of them. It only shows you the full thing for the highlighted one below the table. Is there a way to show them again?
1
0
867
Aug ’20
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
984
Feb ’21
Xcode Keychain
Hi,I just startet using Xcode and tried to write one of my first little apps. By using the Xcode simulator it works just fine, but when I tried to use my own iPhone to test it, it wanted my password to get into my Keychain account. I forgot the password at that time and so to close this pop-up I hit don't allow. Unfortunately every time I try to upload may code to my iPhone the Build fails. It says:/Users/MaximilianFries/Library/Developer/Xcode/DerivedData/LED_Uhr-bqirsotpaupqywfdikvowlxmgksb/Build/Products/Debug-iphoneos/LED Uhr.app/Frameworks/libswiftCore.dylib: unknown error -1=fffffffffffffffferror: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' '8B57842E538ECD83F378F14E79269DF3F311489A' '--verbose' '/Users/MaximilianFries/Library/Developer/Xcode/DerivedData/LED_Uhr-bqirsotpaupqywfdikvowlxmgksb/Build/Products/Debug-iphoneos/LED Uhr.app/Frameworks/libswiftCore.dylib'}I already deleted all files in the Derived folder and reinstalled Xcode
4
0
4.1k
Oct ’17
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
323
May ’16
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
578
Oct ’15
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
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 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?
Replies
0
Boosts
0
Views
272
Activity
Nov ’23
Downloading xcode
Can I download xcode without updaiting to sierra?
Replies
1
Boosts
0
Views
351
Activity
Mar ’17
Error while calling NWListener in xcode 10.1
I have xcode 10.1 and using mac os development target 10.14 While calling the below line it is giving following error listener = try! NWListener(using: .tcp, on: self.port) dyld: lazy symbol binding failed: Symbol not found: nwtcpcreateoptions Referenced from: /Users/radhika/Library/Developer/Xcode/DerivedData/test2-dizzlvivbbforkeiqgrkxldrweer/Build/Products/Debug/test2 (which was built for Mac OS X 10.14) Expected in: /usr/lib/libnetwork.dylib dyld: Symbol not found: nwtcpcreateoptions Referenced from: /Users/radhika/Library/Developer/Xcode/DerivedData/test2-dizzlvivbbforkeiqgrkxldrweer/Build/Products/Debug/test2 (which was built for Mac OS X 10.14) Expected in: /usr/lib/libnetwork.dylib Program ended with exit code: 9
Replies
2
Boosts
0
Views
336
Activity
Jul ’20
Reverting Xcode 12 autocomplete to Xcode 11 style
Is there a way to revert the Xcode autocomplete style to the Xcode 11 one? In Xcode 12, when typing, for example: UIFont( The autocomplete shows: () (descriptor:size:) (name:size:) Previously, it would show: () -> UIFont (descriptor: UIFontDescriptor, size pointSize: CGFloat) -> UIFont (name fontName: String, size fontSize: CGFloat) -> UIFont? Its really inconvenient not being able to see the input type of all of them. It only shows you the full thing for the highlighted one below the table. Is there a way to show them again?
Replies
1
Boosts
0
Views
867
Activity
Aug ’20
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
Replies
5
Boosts
0
Views
984
Activity
Feb ’21
Xcode 8.2.1
Can I submit swift 2.2 app with Xcode 8.2.1 ?
Replies
0
Boosts
0
Views
525
Activity
Aug ’17
Xcode Keychain
Hi,I just startet using Xcode and tried to write one of my first little apps. By using the Xcode simulator it works just fine, but when I tried to use my own iPhone to test it, it wanted my password to get into my Keychain account. I forgot the password at that time and so to close this pop-up I hit don't allow. Unfortunately every time I try to upload may code to my iPhone the Build fails. It says:/Users/MaximilianFries/Library/Developer/Xcode/DerivedData/LED_Uhr-bqirsotpaupqywfdikvowlxmgksb/Build/Products/Debug-iphoneos/LED Uhr.app/Frameworks/libswiftCore.dylib: unknown error -1=fffffffffffffffferror: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' '8B57842E538ECD83F378F14E79269DF3F311489A' '--verbose' '/Users/MaximilianFries/Library/Developer/Xcode/DerivedData/LED_Uhr-bqirsotpaupqywfdikvowlxmgksb/Build/Products/Debug-iphoneos/LED Uhr.app/Frameworks/libswiftCore.dylib'}I already deleted all files in the Derived folder and reinstalled Xcode
Replies
4
Boosts
0
Views
4.1k
Activity
Oct ’17
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? 😢
Replies
1
Boosts
0
Views
323
Activity
May ’16
Xcode compatibility
Hello everyone I run into a problem with Xcode I updated my Mac to Mac OS 15 sequoia and I try to get the version 16 of Xcode but It doesn't seem to work is anyone run into the same problem or I'm doing something wrong ? Thank you
Replies
4
Boosts
0
Views
3.8k
Activity
Jul ’24
xcode 8
can i still download and use xcode 8 ? if so where?
Replies
2
Boosts
0
Views
455
Activity
Nov ’20
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
Replies
4
Boosts
0
Views
578
Activity
Oct ’15
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.
Replies
Boosts
Views
Activity
Dec ’17
Xcode and IPad?
Will Xcode ever come to IPad?
Replies
0
Boosts
0
Views
275
Activity
Nov ’20
How can I convert a Xcode Playground in Swift 3 to work with Xcode 9?
I made a big Swift Playground in Xcode 8 using Swift 3 and would like to make it work in Xcode 9 too. I tried to just run but availed me no success. Anyone having a solution please help...It works fine in Xcode 8 but when I do the same in Xcode 9 the spinner just spins resulting to nothing.Thanks in Advance!
Replies
6
Boosts
0
Views
6.0k
Activity
Sep ’17
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:
Replies
Boosts
Views
Activity
Apr ’21