Search results for

“Xcode”

93,879 results found

Post

Replies

Boosts

Views

Activity

Reply to CODING PROBLEM
I recommend you'd give a better title for your post. Including the error message is one way, if it's not too long.And you also show what version of Xcode you are using, just adding something like Xcode 6.4 on OS X 10.10.4 would be useful in many cases.I assume this sort of lines: /may be modified by the article editor's copying feature and your original code would be something like this: // Do any additional setup after loading the view, typically from a nib.as in the code template generated by Xcode. You'd better post-edit your code after pasting it.So, if I try to get the message Expected declaration, I need to write some other codes, other than your code shown above.Are you sure your source file does not contain any other codes?
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’15
Reply to building for OSX, but linking in object file built for iOS
I'm not actually using Xcode for anything. It's there because it supposedly has the pieces to do this build. The build simply uses makefiles that invoke a gcc binary.This Mac was recently upgraded to OS X v10.10.5 from an older version (I forget what it was) by a contractor. Prior to the upgrade, we had a configuration that worked for doing this build. The configuration had everything in the /Developer hierarchy, which the contractor says is the hierarchy that Xcode used to create. So, to your question about whether Xcode 7 can build an iOS dylib, I would think it can, since whatever older version of Xcode we had before was able to do it.I can copy the old /Developer hierarchy from the backup to the main disk, but with the newer version of OS X it no longer works. The contractor suggested installing Xcode v7.2.1, which is the newest Xcode that can be used with OS X v10.10.5. We did the install, but where the old /Developer hierar
Oct ’17
Read QR Code OS X (10.10 and later)
Is there any possibility to read QR Code from an OS X (10.10 and later) with the system libraries (e.g. AVFoundation)?I know that the AVCaptureMetadataOutput class was available just on OS X 10.9.But is the delegate method -[AVCaptureMetadataOutputObjectsDelegate captureOutput:didOutputMetadataObjects:fromConnection:] still available? It is written in the documentation that is available on OS X 10.9 and later. How can I use it now (on OS X 10.10)?What can be used as alternative to AVCaptureMetadataOutput?Thanks a lot.Lovelace
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
1.9k
Jul ’15
Xcode
at time of update of Xcode,in middle some reason it failed but when I see it after that once again update it but this time it install the Xcode(there is two applications of Xcode in my device. after seeing it I will delete Xcode but some still remain in my device that create a problem when I am download Xcode once again at time of certain gb it failed but it doesn't download.please help me.......
1
0
584
Mar ’22
xcode 9.2 syntax coloring
Dear all,I've updated x-code to version 9.2 (with the hope to get code folding back) but instead am now not able to set the syntax coloring any more.In the menue Editor -> Syntax Coloring shows an arrow, but if I click on the menu item nothing happens. i.e. no list of languages apears. Is this a known problem or is there something wrong with my installation? (Mac OS Sierra 10.12.6, macBook Pro 2016) Best wishes,Maurits
5
0
2.9k
Dec ’17
Reply to Custom Errors
I tried the code you last posted in new project (both Xcode 8.3.3 and Xcode 9, Swift 3.x and 4) and it works fine. At this point, I'd say the problem is not the ExamineError declaration, but something else is going wrong in your project. If you're using a current version of Xcode, I'd suggest you submit a bug report and see what comes back.Incidentally, just for interest, you could try:catch { let e = error as! ExamineError print (type(of: e)) }and see what it says.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’17
Reply to code signing - old Xcode, old Mac, new iOS
There’s two parts to this: Signing an app for iOS 15 Xcode support for iOS 15 The latter requires Xcode 13, which means at least macOS 11.3 (the table in Developer > Support > Xcode is something I like to keep handy). There’s no supported way around this. When it comes to code signing, the codesign tool is part of macOS and thus the code signature format you get is determined by your macOS version (Xcode only comes into play based on the arguments it passes to codesign). And AFAIK the macOS 10.15.x codesign is incapable of producing DER entitlements, which is what’s required by iOS 15 [1]. Honestly, the best way forward here is to get a new Mac. Everything else either puts your on an unsupported path, or will burn through a lot of your time, or some combination of the two. For example, macOS 10.15.x can run macOS 11 in a VM and so you could fire up a VM just to sign your code. However, that’s a significant amount of hassle
Topic: Code Signing SubTopic: General Tags:
Nov ’21
XCode 26.0.1/iOS 26 unable to mark class as ObservableObject
Started a new X-Code Project after updating to 26.0.1 and realized that I get an error when trying to mark a class as ObservableObject => Class XYZ does not conform to Protocol 'ObservableObject'. Strange behaviour, because at old projects the code is working even though the build options are the same and other settings like iOS version in Target are the same. There must be something chaged under the hood of XCode? I have to import Combine now, before I could write my class, e.g. CoreData Datamanager: ObservableObject only using CoreData.
4
0
663
Sep ’25
Persistent Xcode validation errors
We recently updated the codebase of our existing iOS application to improve compatibility with the latest versions of iOS. For several months, our attempts to deploy the updated application to TestFlight for testing and validation have consistently failed due to four recurring Xcode validation errors. Please see the attached document X-Code Validation Errors.txt for details on these errors. Our application is developed using Visual Studio 2022 for PC with the .NET MAUI framework, as Microsoft no longer supports Visual Studio for Mac. After a successful build and testing using a virtual iPhone interface, Visual Studio connects remotely to the MacBook (Mac OS 15.1) sending the necessary project files that automatically triggers the Xcode (16.1) validation to begin. We have made numerous edits to both the plist.info and the project file in an attempt to resolve the validation errors with little to no success. We are confident that is a configuration mismatch between what the plist say
2
0
422
Nov ’24
Reply to CoreNFC ISO7816 Tags
I ran AndyQ's example with ePassport (AID A0000002471001) and got an error on connect to tag:Error Domain=NFCError Code=100 Stack ErrorError Domain=nfcd Code=28 Tag Not FoundiPhone X, iOS 13 beta 4, Xcode 11 beta 4
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’19
Reply to CODING PROBLEM
I recommend you'd give a better title for your post. Including the error message is one way, if it's not too long.And you also show what version of Xcode you are using, just adding something like Xcode 6.4 on OS X 10.10.4 would be useful in many cases.I assume this sort of lines: /may be modified by the article editor's copying feature and your original code would be something like this: // Do any additional setup after loading the view, typically from a nib.as in the code template generated by Xcode. You'd better post-edit your code after pasting it.So, if I try to get the message Expected declaration, I need to write some other codes, other than your code shown above.Are you sure your source file does not contain any other codes?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to PreferenceKey not working when embedded in HStack - SwiftUI
After further investigation, it turns out the Canvas (SwiftUI Previews) has that bug in Xcode Version 12.5.1 (12E507). The original code works on an iPhone X running iOS 14.8 The above workaround works on the Canvas though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’21
Reply to building for OSX, but linking in object file built for iOS
I'm not actually using Xcode for anything. It's there because it supposedly has the pieces to do this build. The build simply uses makefiles that invoke a gcc binary.This Mac was recently upgraded to OS X v10.10.5 from an older version (I forget what it was) by a contractor. Prior to the upgrade, we had a configuration that worked for doing this build. The configuration had everything in the /Developer hierarchy, which the contractor says is the hierarchy that Xcode used to create. So, to your question about whether Xcode 7 can build an iOS dylib, I would think it can, since whatever older version of Xcode we had before was able to do it.I can copy the old /Developer hierarchy from the backup to the main disk, but with the newer version of OS X it no longer works. The contractor suggested installing Xcode v7.2.1, which is the newest Xcode that can be used with OS X v10.10.5. We did the install, but where the old /Developer hierar
Replies
Boosts
Views
Activity
Oct ’17
Read QR Code OS X (10.10 and later)
Is there any possibility to read QR Code from an OS X (10.10 and later) with the system libraries (e.g. AVFoundation)?I know that the AVCaptureMetadataOutput class was available just on OS X 10.9.But is the delegate method -[AVCaptureMetadataOutputObjectsDelegate captureOutput:didOutputMetadataObjects:fromConnection:] still available? It is written in the documentation that is available on OS X 10.9 and later. How can I use it now (on OS X 10.10)?What can be used as alternative to AVCaptureMetadataOutput?Thanks a lot.Lovelace
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
1.9k
Activity
Jul ’15
Xcode
at time of update of Xcode,in middle some reason it failed but when I see it after that once again update it but this time it install the Xcode(there is two applications of Xcode in my device. after seeing it I will delete Xcode but some still remain in my device that create a problem when I am download Xcode once again at time of certain gb it failed but it doesn't download.please help me.......
Replies
1
Boosts
0
Views
584
Activity
Mar ’22
Xcode 7 and Xcode 8 simultaneously
I was told at WWDC in the Xcode labs that you could convert your source code to work with Xcode 8 and but then still be able to submit the app via Xcode 7.Is this true?It seems like once you convert your source to Xcode 8, you can't really compile with Xcode 7 any more.
Replies
3
Boosts
0
Views
1.1k
Activity
Jul ’16
xcode 6.4 and xcode 7 coexist
xcode 6.4 and xcode 7 are supposed to be able to co-exist peacefully on the same mac, right?I had xcode 6.3.x and Xcode 7 beta 2 Build: 7A121l. xcode 6.4 failed to download / install.OS X 10.10.4 Yosemite
Replies
1
Boosts
0
Views
822
Activity
Jul ’15
xcode 9.2 syntax coloring
Dear all,I've updated x-code to version 9.2 (with the hope to get code folding back) but instead am now not able to set the syntax coloring any more.In the menue Editor -> Syntax Coloring shows an arrow, but if I click on the menu item nothing happens. i.e. no list of languages apears. Is this a known problem or is there something wrong with my installation? (Mac OS Sierra 10.12.6, macBook Pro 2016) Best wishes,Maurits
Replies
5
Boosts
0
Views
2.9k
Activity
Dec ’17
Reply to Custom Errors
I tried the code you last posted in new project (both Xcode 8.3.3 and Xcode 9, Swift 3.x and 4) and it works fine. At this point, I'd say the problem is not the ExamineError declaration, but something else is going wrong in your project. If you're using a current version of Xcode, I'd suggest you submit a bug report and see what comes back.Incidentally, just for interest, you could try:catch { let e = error as! ExamineError print (type(of: e)) }and see what it says.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’17
sample source code for mac os x
hii precise sample source code in swift to player live streaming in .ts for use with my IPTV list channelsmy link of one channel iptvhttp://server.globalhd.ml:8080/live/cbd_cbd@hotmail.com/9o11224Bfr/80.tshow i player this in swift with mac os x program ?thankdario
Replies
0
Boosts
0
Views
620
Activity
Feb ’18
Reply to code signing - old Xcode, old Mac, new iOS
There’s two parts to this: Signing an app for iOS 15 Xcode support for iOS 15 The latter requires Xcode 13, which means at least macOS 11.3 (the table in Developer > Support > Xcode is something I like to keep handy). There’s no supported way around this. When it comes to code signing, the codesign tool is part of macOS and thus the code signature format you get is determined by your macOS version (Xcode only comes into play based on the arguments it passes to codesign). And AFAIK the macOS 10.15.x codesign is incapable of producing DER entitlements, which is what’s required by iOS 15 [1]. Honestly, the best way forward here is to get a new Mac. Everything else either puts your on an unsupported path, or will burn through a lot of your time, or some combination of the two. For example, macOS 10.15.x can run macOS 11 in a VM and so you could fire up a VM just to sign your code. However, that’s a significant amount of hassle
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’21
XCode 26.0.1/iOS 26 unable to mark class as ObservableObject
Started a new X-Code Project after updating to 26.0.1 and realized that I get an error when trying to mark a class as ObservableObject => Class XYZ does not conform to Protocol 'ObservableObject'. Strange behaviour, because at old projects the code is working even though the build options are the same and other settings like iOS version in Target are the same. There must be something chaged under the hood of XCode? I have to import Combine now, before I could write my class, e.g. CoreData Datamanager: ObservableObject only using CoreData.
Replies
4
Boosts
0
Views
663
Activity
Sep ’25
Reply to [iOS 18] Scrolling behavior does not work only when built in Xcode 16
@DTS Engineer I used Sample Code above to run from Xcode 16.1 beta 3 to iOS 18.1 simulator, but the same issue is reproduced. However, for iOS 17.x versions in the same environment, it works seamlessly and well.
Replies
Boosts
Views
Activity
Oct ’24
Persistent Xcode validation errors
We recently updated the codebase of our existing iOS application to improve compatibility with the latest versions of iOS. For several months, our attempts to deploy the updated application to TestFlight for testing and validation have consistently failed due to four recurring Xcode validation errors. Please see the attached document X-Code Validation Errors.txt for details on these errors. Our application is developed using Visual Studio 2022 for PC with the .NET MAUI framework, as Microsoft no longer supports Visual Studio for Mac. After a successful build and testing using a virtual iPhone interface, Visual Studio connects remotely to the MacBook (Mac OS 15.1) sending the necessary project files that automatically triggers the Xcode (16.1) validation to begin. We have made numerous edits to both the plist.info and the project file in an attempt to resolve the validation errors with little to no success. We are confident that is a configuration mismatch between what the plist say
Replies
2
Boosts
0
Views
422
Activity
Nov ’24