Search results for

“xcode github”

96,040 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 10's base SDK?
>still not clear on the other way around though - selecting 3.2 but being able to use 4.x API; the discussion doesn't seem to say compatibility works that way aroundDon't conflate supported code with migrated code.From the Xcode 10 Release Notes:Xcode 10 is the last release that will support Swift 3. Migrate your projects from Swift 3 code to Swift 4.2 syntax by opening the project and choosing Edit > Convert > To Current Swift Syntax… (43101816)
Oct ’18
Reply to View hidden files in Xcode Project navigator
They are files/folders in the project directory. For instance, I have a .github directory with workflows and such in it, and it would be nice to see those in the Project navigator. Granted, I can just open them in another application, or use Terminal to open them, but it would be nice if I didn't have to exit Xcode to view files in the project I'm working on. So, the project might look like: Project/ t.github/ ttworkflows/ t.gitignore tSwiftFile.swift t...
Feb ’21
Reply to "codesign verify" is happy but spctl rejected ?
--deep is almost never the right option for signing an app with nested code. You typically want to either have Xcode do this for you (which is what I recommend) or sign in multiple steps, signing nested code from the inside out. As to you overall problem, AFAICT your shipping nested code in an unsupported place. Dynamic libraries, like libcocoaprintersupport.dylib, should be in your Frameworks directory. See Table 3 of Technote 2206 OS X Code Signing In Depth. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Aug ’15
Reply to xcode-beta 7 hang fix?
Same Problem - simulator giving constant SpringBoard errors and unable to open any XIB's. When I try to open a XIB, X-Code 7 crashes....In fact can not compile anything now.... even though I have re-installed X-code 7 from scatch...Have had to fall back on my old iMac running OS X 10.4 for the moment... such a waste of time when instead I am used to running everything on my iMac Retina.Here's to hoping Apple solves this soon !
Aug ’15
Reply to Xcode cloud and unlinking SCM
I'm currently dealing with the exact same thing. Using Github as my SCM, I was getting errors telling me I had to reconnect, but clicking reconnect only gave me another error saying it was incomplete. Thought maybe I'd just start over from scratch and deleted all Xcode Cloud data. Now it gets stuck at Grant Access to Your Repository and I get a popup error telling me my app couldn't be added to Xcode Cloud. Added my own feedback. FB number is FB9785098.
Nov ’21
Reply to Xcode 15 commit button not shown
The proposed solution does not work for me as well. I added my GitHub account under Xcode -> Settings -> Accounts. I also added my Author Name and Author Email under Xcode -> Settings -> Source Control. I made changes & went to Integrate -> Stage All Changes (this worked). Next, I went to Integrate -> Commit... and the screen below opens with the commit button greyed out. I know I can use terminal to commit my changes. I am trying to get the source control integration working on my project.
Apr ’24
Reply to The self keyword in initWithDelegate:queue
What is the meaning of the self keyword?For code inside an instance method of class X, it’s a reference to the instance of class X (or subclass of class X) on which that method was called. For code running inside a class method of class X, it’s a reference to class X (or subclass of X).From my understanding it is referring to the ViewController that I am currently working in. For example, if I have a property called someTextField inside my ViewController.h file, When I access the property I say: self.someTextField. So from that I understand that self is the viewcontroller. Is this the right way on thinking about it?Yes (assuming that the code you’re talking about is an instance method of the ViewController class).With regards to the initWithDelegate:queue method. … So in the developer doumentation, the first parameter is the delegate whihc receives the events. In this case, it is set to self. So is self reffering to the ViewContr
Topic: Programming Languages SubTopic: General Tags:
Apr ’17
Reply to how XCode to calculate Memory
memoryFootprint is quite confusing code but useful. Putting it in the debugger and studying info (at line return info.phys_footprint) I see it has a field limit_bytes_remaining Is this a useful guideline as to how much memory is available for allocation? I notice that when UIGraphicsBeginImageContextWithOptions(size,....) fails with a message Cannot allocate X bytes X is 16 x size.width x size.height I would like to know if UIGraphicsBeginImageContextWithOptions will fail before I call it and crash
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’21
Reply to iOS 12 scrollview zoom broken?
I have a github repo that demonstrates the problem. Unfortunately I cannot post the link here because of the draconian moderation filter :/My GH username is mluisbrown and the repo is called ZoomTest if you can reach it that way...From Xcode 10, if you run it in iOS 11.4 simulator it works as expected. In iOS 12 simulator it's completely broken. And viewForZooming is returning the imageView directly (there is no wrapper view)
Topic: UI Frameworks SubTopic: UIKit Tags:
Jun ’18
Reply to Mac App store Code Signing EXC_CRASH (Code Signature Invalid)
Just to let everyone know, we generated updated distribution profiles and built under 10.12.6 and submitted and it worked I guess. I have no clue why, but seems like there must have been some kind of bug either with XCODE and codesigning under 10.11.x or something changed in Apple's back end which we have no idea about that must have affected code signing recently.
Topic: Code Signing SubTopic: General Tags:
Aug ’17
Reply to In app purchase “Cannot connect to iTunes Store” error for Sandbox user
I am also experiencing this issue. Using Xcode 12.0, I am seeing the same double prompt for password, which is then followed by this error: Error Domain=SKErrorDomain Code=0 Cannot connect to iTunes Store UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store} This is happening on devices running iOS 11.x < iOS 13.x. As others have stated, this does not occur on iOS 14 devices. I tried purchasing both consumable IAPs, and Renewable Subscriptions. Both have the same result. Test Flight builds that perform purchases using non-sandbox Apple IDs seem to work without any issue on any OS.
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’20
Reply to IOS 16.2 Developer mode
Can someone help me? How should I do to check if the device is registered in X-Code? Regards
Replies
Boosts
Views
Activity
Dec ’22
Reply to Xcode 10's base SDK?
>still not clear on the other way around though - selecting 3.2 but being able to use 4.x API; the discussion doesn't seem to say compatibility works that way aroundDon't conflate supported code with migrated code.From the Xcode 10 Release Notes:Xcode 10 is the last release that will support Swift 3. Migrate your projects from Swift 3 code to Swift 4.2 syntax by opening the project and choosing Edit > Convert > To Current Swift Syntax… (43101816)
Replies
Boosts
Views
Activity
Oct ’18
Reply to View hidden files in Xcode Project navigator
They are files/folders in the project directory. For instance, I have a .github directory with workflows and such in it, and it would be nice to see those in the Project navigator. Granted, I can just open them in another application, or use Terminal to open them, but it would be nice if I didn't have to exit Xcode to view files in the project I'm working on. So, the project might look like: Project/ t.github/ ttworkflows/ t.gitignore tSwiftFile.swift t...
Replies
Boosts
Views
Activity
Feb ’21
Reply to "codesign verify" is happy but spctl rejected ?
--deep is almost never the right option for signing an app with nested code. You typically want to either have Xcode do this for you (which is what I recommend) or sign in multiple steps, signing nested code from the inside out. As to you overall problem, AFAICT your shipping nested code in an unsupported place. Dynamic libraries, like libcocoaprintersupport.dylib, should be in your Frameworks directory. See Table 3 of Technote 2206 OS X Code Signing In Depth. Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’15
Reply to xcode-beta 7 hang fix?
Same Problem - simulator giving constant SpringBoard errors and unable to open any XIB's. When I try to open a XIB, X-Code 7 crashes....In fact can not compile anything now.... even though I have re-installed X-code 7 from scatch...Have had to fall back on my old iMac running OS X 10.4 for the moment... such a waste of time when instead I am used to running everything on my iMac Retina.Here's to hoping Apple solves this soon !
Replies
Boosts
Views
Activity
Aug ’15
Reply to Share arbitrary struct from HostApp to Extension and get arbitrary result back
Here is the github project: https://github.com/Fesh-com/Sharing-Extension
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’24
Reply to iOS App never gets Bluetooth connection
I have posted a skeleton project on Github https://github.com/andrewknockin/BleTest
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Xcode cloud and unlinking SCM
I'm currently dealing with the exact same thing. Using Github as my SCM, I was getting errors telling me I had to reconnect, but clicking reconnect only gave me another error saying it was incomplete. Thought maybe I'd just start over from scratch and deleted all Xcode Cloud data. Now it gets stuck at Grant Access to Your Repository and I get a popup error telling me my app couldn't be added to Xcode Cloud. Added my own feedback. FB number is FB9785098.
Replies
Boosts
Views
Activity
Nov ’21
Reply to Xcode 15 commit button not shown
The proposed solution does not work for me as well. I added my GitHub account under Xcode -> Settings -> Accounts. I also added my Author Name and Author Email under Xcode -> Settings -> Source Control. I made changes & went to Integrate -> Stage All Changes (this worked). Next, I went to Integrate -> Commit... and the screen below opens with the commit button greyed out. I know I can use terminal to commit my changes. I am trying to get the source control integration working on my project.
Replies
Boosts
Views
Activity
Apr ’24
Reply to The self keyword in initWithDelegate:queue
What is the meaning of the self keyword?For code inside an instance method of class X, it’s a reference to the instance of class X (or subclass of class X) on which that method was called. For code running inside a class method of class X, it’s a reference to class X (or subclass of X).From my understanding it is referring to the ViewController that I am currently working in. For example, if I have a property called someTextField inside my ViewController.h file, When I access the property I say: self.someTextField. So from that I understand that self is the viewcontroller. Is this the right way on thinking about it?Yes (assuming that the code you’re talking about is an instance method of the ViewController class).With regards to the initWithDelegate:queue method. … So in the developer doumentation, the first parameter is the delegate whihc receives the events. In this case, it is set to self. So is self reffering to the ViewContr
Topic: Programming Languages SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’17
Reply to Xcode Previews broken after setting different bundle identifier for debug/release modes
Try Clean Build. Restart x-code This resolved for me the issue :)
Replies
Boosts
Views
Activity
Aug ’24
Reply to how XCode to calculate Memory
memoryFootprint is quite confusing code but useful. Putting it in the debugger and studying info (at line return info.phys_footprint) I see it has a field limit_bytes_remaining Is this a useful guideline as to how much memory is available for allocation? I notice that when UIGraphicsBeginImageContextWithOptions(size,....) fails with a message Cannot allocate X bytes X is 16 x size.width x size.height I would like to know if UIGraphicsBeginImageContextWithOptions will fail before I call it and crash
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to iOS 12 scrollview zoom broken?
I have a github repo that demonstrates the problem. Unfortunately I cannot post the link here because of the draconian moderation filter :/My GH username is mluisbrown and the repo is called ZoomTest if you can reach it that way...From Xcode 10, if you run it in iOS 11.4 simulator it works as expected. In iOS 12 simulator it's completely broken. And viewForZooming is returning the imageView directly (there is no wrapper view)
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’18
Reply to Mac App store Code Signing EXC_CRASH (Code Signature Invalid)
Just to let everyone know, we generated updated distribution profiles and built under 10.12.6 and submitted and it worked I guess. I have no clue why, but seems like there must have been some kind of bug either with XCODE and codesigning under 10.11.x or something changed in Apple's back end which we have no idea about that must have affected code signing recently.
Topic: Code Signing SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’17
Reply to In app purchase “Cannot connect to iTunes Store” error for Sandbox user
I am also experiencing this issue. Using Xcode 12.0, I am seeing the same double prompt for password, which is then followed by this error: Error Domain=SKErrorDomain Code=0 Cannot connect to iTunes Store UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store} This is happening on devices running iOS 11.x < iOS 13.x. As others have stated, this does not occur on iOS 14 devices. I tried purchasing both consumable IAPs, and Renewable Subscriptions. Both have the same result. Test Flight builds that perform purchases using non-sandbox Apple IDs seem to work without any issue on any OS.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’20