Anyone can explain why the other menus in xcode are not being displayed? I downloaded a tutorial file and it only shows
and not as I would expect this
I am looking for the Capabilities tab,
Presumably, you're looking at a project:
and not a target:
Use the popup menu (or the sidebar that's shown collapsed in my screenshots) to select your app target instead.
Related
Switching from UIKit/Storyboards to SwiftUI, I am a bit confused about how to use a custom view as a launch screen, just as I would have before with LaunchScreen.storyboard.
So far, from all the tutorials I have found on the internet I have read that I should declare my background color and image as a dictionary in UILaunchScreen entry in Info.plist.
However, I feel like being offered much less choice than previously with a launch screen storyboard. Am I missing something?
Thank you for your help
In xCode 12.4, when you use SwiftUI, you don't have file "Launch Screen.storyboard" by default. There is no option in Info.plist to use custom custom launch screen. So you have to add it trough library, and edit it. After that you chose your .xcodeproj file from project navigator, and when you select your project name in TARGETS section, general tab, change Launch Screen File to the name of your launch screen.
Im using Instruments 8.3.2 and the Record Settings and Display Settings tab are missing in the inspector window. How do I get those tabs back? Please see the attached screenshot.
The normal inspector window looks like this (See arrow 5):
The majority of these settings have moved to the bottom of the Instruments window. Tap on "Call Tree" to see a modal with the missing settings:
No With Xcode 9.3 & Instruments 9.3
The "Recording Options" moved again.
Now it is in the app menu at File > Recording Options….
Or you can use shortcut: CmdOptr
Or long press the Record button, it will appear options contains Recording options
You can see the menu item in the picture below:
I'm trying to access the "general" tab of the Xcode options for a target I'm trying to build but there seems to be none.
Heres an image of my settings tab with the target selected: http://imgur.com/ljgW9j6
Try this.General option
Click the left top corner icon (Hide project and targets list button) that appears in the image and then a list will show you your project, then click your project and the general option now appear.enter image description here
It looks like the project was not created correctly for iOS. You need to do File->New->Project. Then, go to iOS category and choose your project type (usually single view application). Then input your project name, preferred language, organization, etc. and create the project. Now, when you click on the target, you will see the general tab.
that message is talking about your IOS device general tab so you have to go to your (iphone or ipad) setting -> general -> (in IOS 11)Profile & Device Management -> Then select your apple Id which is signed in xcode
Note: your ios device should connected to internet
I made some changes in my xcode project, which somehow, causes me to not be able to run the app in the simulator nor device. The only option that I can see now is My Mac 64 bit. How do I fix this? The target is correct.
Try this:
Go to Edit scheme (Drop down near the stop button), then select Excecutable as "yourapp.app".
If you open the project in XCode (4.4.1), on the left top click the folder icon, then select your project icon to bring up the project settings page. Click on the "Summary" tab, then you should see "Devices" where you can select the device you want to target.
If that doesn't work (you don't see "iOS Application Target") you may need to go into "Build Settings" and select a different "Base SDK" -- I usually select "Latest iOS". You may have selected a Mac OS X SDK. Also check "Supported Platforms" to select "iOS".
Another Way which did it for me ...
go to manage Schemes and click Autocreate schemes now on the upper left side ..
hope it helps
Is there any tool available to find the difference between two versions of same xcode project?. So that I can easily get an overview of the changed/newly-added/deleted files.
Thanks,
durai.
The Xcode tools include the FileMerge.app application that does exactly what you're looking for.
It's at <Developer Tools>/Applications/Utilities/FileMerge.app.
You can compare two Xcode project using FileMerge tool available with Xcode.
Below are steps for comparison in Xcode 6.1
Right click on Xcode icon -> Select 'Open Developer Tool' -> Select 'FileMerge' option
This will open window as show below :
Select two Xcode project which is to be compared by clicking Left and Right button
Click on 'Compare' button. This will create list of file that are added, removed or altered
by comparing two Xcode project.
Note : While selecting file for Left/Right go to folder level not Xcode file or workspace
You can check changes in Left/Right, identical between Left/Right or Added/Deleted by selecting feature present in extreme right side of window (if using Xcode 8.2.1)