Search results for

xcode github

91,994 results found

Post

Replies

Boosts

Views

Activity

Reply to Xcode 11 - "error: Relocation out of range"
Ok, here's what happened. To open the project in XCode 11 I had to convert Swift from 3.x to 4.x. When I made some manual changes to add the @objc tag, I errantly added it to a few private functions in the code. I'm guessing the 'out of range' message meant 'hey, we can't see those functions you idiot.I removed it and now builds fine on all devices & ios versions.Hopefully this helps someone in he future...
Jul ’19
Reply to Can't change background task identifier
Here's what I did: Ran with original name. Debug commands work fine. Stopped app in xcode, and changed names (added x at end of identifier in target (replicated to Info.plist), and code Removed app from phone Shutdown phone and rebooted. Ran with new names from xcode...same problem Switched name back...runs fine.
Topic: App & System Services SubTopic: Core OS Tags:
Jan ’24
Code-coverage data not generated when tests are run via X-Code bots.
I am running the application on Version 9.0 beta (9M136h). When I run the UI tests, code coverage report contains numbers for the test file as well for the main project. (Screenshot1). However, If I run the same tests using bots, no code coverage data is generated for the files in the main application, only for the files in the test application. (Screenshot 2)https://www.dropbox.com/sh/25lplykpxvpwpup/AADCe7mGHZl1bhCSIq-v69IWa?dl=0In the project scheme, have gather code coverage data enabled.
0
0
5.4k
Jun ’17
Reply to App was crashing in xcode 16 due to Quicklook UI framework
@DTS Engineer Having the same problem here: building an app on Xcode 16.0 on macOS Sonoma 14.7 results in an application that crashes on macOS Big Sur Intel machine with the same crash as mentioned above. Building with Xcode 15.4 does not have this issue. However, we cannot build this branch on Xcode 15.x anymore due to code changes for Xcode 16 compatibility. Is there a workaround? We're now stuck in an unreleasable state!
Topic: UI Frameworks SubTopic: AppKit Tags:
Sep ’24
App Rejected Due to Guidelines 2.3.10 and 3.1.1 — External Links to GitHub Page
Hi All, So I have been trouble publishing my app on App Store as it keeps rejected by App Review. Specifically guideline 2.3.10 and 3.1.1. Although I don't have any metadata for third-party services in my app or tip button anywhere within my apps binary. I do however have external links to my projects help and Github which have that information, which I am getting rejected for. However, I want those external links because I need to have google play on the projects github page so users can know that are visiting to github that they can also download it officially from those sources as well. It is also useful to tell users that those are the only official platforms that I support, and downloading from anywhere else is not advised. Is there an acceptable solution where the google play and donation link can be kept on the github page? It is not really built into the binary itself anyways so I thought it would be allowed. Here is an link to my projects repo in case that helps cl
2
0
132
Jun ’25
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 SourceKit crashing and Xcode crippled when project uses a dynamic framework (Xcode 7 beta 3)
I'm seeing exactly the same thing in Xcode 7 Beta 5. In my project this usually happens when I am editing Swift source such as: print(x = (x.somefunc()))The editor looses functionality pretty consistently as I type the x.. Everything compiles without issue but it is annoying to loose the code completion and keep having the window jerk up and down when the report problem appears.I couldn't find any crash logs anywhere.
Aug ’15
Reply to Xcode 15.3 crippled with "internal inconsistency error"
I have a pure Objective-C project and I also get the XCode crash on every other build. (It is actually the second build because the crash puts one back at first build.) At least my code changes are saved! It appears to be one of the final seven or eight steps in the build process counter. These crashes happen whether or not the device is hardware or simulator, iOS 17.4 or 16.x or 15.x, etc.
Apr ’24
Reply to git untracked
@Paradigm777 Hi. I’ve checked everything and still get error. I’m starting to think the error resides in how I set up everything (I don’t know much about git but I’m currently learning about it) At first I didn’t set any repository or whatever. I added my account in Xcode settings (with a token). I clicked on « add a git repository » which I searched in the help research bar. After that, in the source control panel, I went to remotes, and clicked « add a new remote« which made the repository appear on my GitHub. i still had the untracked message. Do you notice anything wrong ? Was I supposed to set a local repository too ? Should I have first created the repository on GitHub then push the changes from Xcode project to it ?
Nov ’23