I build an Application in Xcode using AppleScript.
I know from the AppleScript-Editor that i can mark my Scripts as "only execute", so that they can't be edited again.
Now the Question is, can i do so also in Xcode with that Project?
The option is in the build settings. Search for "execute".
Related
The quick help feature is working just fine when I open an Xcode project, however when opening a file (e.g. abc.swift) that's not in an open project, the documentation does not appear.
Here is an example:
Install the version of the Command Line Tools for your Xcode
`Xcode menu -> Open developer tools -> More Developer Tools
Restart Xcode. It helped me to see Quick Help again and also fixed git crash.
The below code worked for me. Run the following command from Terminal, then relaunch Xcode.
defaults delete com.apple.dt.Xcode IDEIndexDisable
As an occasional user of XCode, what I still needed to do was download the documentation, which was not installed with the XCode install and/or did not carry over from a previous version of XCode.
From the Preferences dialog, click the Components tab, click on Documentation, and then click the download button for Guides and Sample Code.
Probably obvious for regular users of XCode, but I thought I would write it out for anyone else having this problem, since this was at the top of the Google search.
This is what worked for me. I closed Xcode and then deleted ~/Library/Caches/com.apple.dt.Xcode.
Then I reopened Xcode and checked. It worked after that. I'm currently on Xcode 10.2.1.
It's worked for me, just move the Xcode.app into Applications folder if not exist over here ;)
I'm getting started with Xcode and a i'm studying the way to play sound. I have implemented a small project that play a sound using AudioToolbox framework. Everything was fine: i could Build and run normally, the application also functioned normal but today when i reopen the project i have this bug " file not found". It's strange, i didn't modify anything in my project, the framework was linked in my project too. Anyone has the same problem like me?
First try to clean your project by going to the menu bar (the very top) under "Product" and click "Clean". If it still doesn't work: go into the Build Phases, delete the frameworks, then re-add them.
If this happens when you take an old project and try to build with a new Xcode version, it could bet due to saving ".framework" files locally within your project. Do check the project folder for such files and remove them, and then use the "Build Phases" tab to link the new frameworks.
I have a .gdbinit file. I have been using it for years. It is in my home directory. I still need to do Xcode debugging under gdb, not lldb. But Xcode 4.5.1 does not load the file when it runs an app.
I can load it manually with 'source ~/.gdbinit'. But that's a pain! Any way to configure it to load on launch?
How about adding source ~/.gdbinit to the Pre-actions part of the "Run" scheme in your project (Cmd + < to access the scheme editor)?
I read somewhere and have experienced that Xcode 4.5 and 4.5.1 have many bugs in them and this could be one of them. I cannot really help with this but to say:
1.) remove xcode.app from finder in applications
2.) download Xcode 4.4.1 from the apple website: https://developer.apple.com/downloads/index.action?name=Xcode%204.4.1
3.) put it into the applications folder.
4.) Run Xcode 4.4.1 and run your app!
I have had to do this twice due to these two versions of xcode being buggy.
How to run application which is build using ios-sdk-4.3 in ios-sdk-4.0.I set build target but also am getting lots of crash.
Thanks.
I don't know if I understand your question correctly but try following:
Assuming you are using XCode4, double click on your Project
file to open your Project settings (that's the first Item in your Project Navigator).
Selecting the INFO Tab, choose your Deployment Target, for example 4.0.
I can't help you with the crashes but please try to use the debugger to find out which part of your application is causing the issues.
Let me know if that answers your question
I have used Xcode's Build and Archive feature to create adhoc build many times. Usually when you click Share after Build and Archive, you will be presented a dialog box asking you where to save the ipa file. However, with one of our recent projects, we have not been able to get that dialog after clicking Share. Reinstalling xcode doesn't fix it.
This is in reference to Xcode 3.2.6.
We found the solution and posted it here