Popular New Releases in Xcode
fastlane
2.205.2 Improvements
open-source-ios-apps
3.2.0
SnapKit
Release 5.6.0
SwiftLint
0.47.0: Smart Appliance
Carthage
0.38.0 β Prebuilt Parity
Popular Libraries in Xcode
by vsouza swift
37808 MIT
A curated list of awesome iOS ecosystem, including Objective-C and Swift Projects
by fastlane ruby
34761 MIT
π The easiest way to automate building and releasing your iOS and Android apps
by dkhamsing swift
29606 CC0-1.0
:iphone: Collaborative List of Open-Source iOS Apps
by matteocrippa swift
21510 CC0-1.0
A collaborative list of awesome Swift libraries and resources. Feel free to contribute!
by SwiftyJSON swift
20691 MIT
The better way to deal with JSON data in Swift.
by SnapKit swift
18365 MIT
A Swift Autolayout DSL for iOS & OS X
by realm swift
15989 MIT
A tool to enforce Swift style and conventions.
by Carthage swift
14359 NOASSERTION
A simple, decentralized dependency manager for Cocoa
by CocoaPods ruby
13665 NOASSERTION
The Cocoa Dependency Manager.
Trending New libraries in Xcode
by twostraws swift
4440 MIT
A macOS app to control the Xcode Simulator.
by RobotsAndPencils swift
2899 MIT
The easiest way to install and switch between multiple versions of Xcode - with a mouse click.
by majd swift
2053 MIT
Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
by oblador javascript
2005 MIT
Noiseless Browsing β Content Blocker for Safari
by jordansinger swift
1687 MIT
A SwiftUI system components and interactions demo app
by SwiftDocOrg swift
1614 MIT
A documentation generator for Swift projects
by devMEremenko swift
1604 MIT
XcodeBenchmark measures the compilation time of a large codebase on iMac, MacBook, and Mac Pro
by checkra1n c
1287 NOASSERTION
pongoOS
by superhighfives swift
907 MIT
An open-source colour picker app for macOS
Top Authors in Xcode
1
32 Libraries
896
2
23 Libraries
785
3
16 Libraries
429
4
16 Libraries
77
5
14 Libraries
93
6
14 Libraries
384
7
14 Libraries
102
8
14 Libraries
2416
9
14 Libraries
6937
10
13 Libraries
3789
1
32 Libraries
896
2
23 Libraries
785
3
16 Libraries
429
4
16 Libraries
77
5
14 Libraries
93
6
14 Libraries
384
7
14 Libraries
102
8
14 Libraries
2416
9
14 Libraries
6937
10
13 Libraries
3789
Trending Kits in Xcode
No Trending Kits are available at this moment for Xcode
Trending Discussions on Xcode
Xcode 13 - "Button" title not disappearing
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
Where is the Xcode side by side code comparison option?
How can I run Xcode 12.5.1 on Monterey?
Tab & Navigation Bar changes after upgrading to XCode 13 (& iOS 15)
Xcode 13: Build hangs with "iPhone is busy: making Apple Watch ready for development"
Flutter iOS Error Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x203913130)
Build error domain=com.apple.CoreSimulator.SimError, code=405
Xcode log "Writing analzed variants"
Xcode Workspace "Internal error: missingPackageDescriptionModule"
QUESTION
Xcode 13 - "Button" title not disappearing
Asked 2022-Mar-31 at 04:36After updating to Xcode 13, I face a strange issue, I make a button without title in the storyboard, but it appears with "Button" title in build.
And here's what it looks like in storyboard
But in build it looks like this
ANSWER
Answered 2021-Sep-30 at 06:06If you want to stick to using a Plain button, try entering a thin space (U+2009) character as the title, which won't consume much space and solves the issue. (Thanks to @El Tomato for suggesting white space characters)
Here it is for easier copy-pasting: β
QUESTION
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
Asked 2022-Mar-31 at 03:05Updated to the Xcode 13 beta, now I can't build the project due to an error in several pods
Older Xcode launches an app on iOS 15 too long
I use M1, maybe this is due to architecture
ANSWER
Answered 2021-Aug-25 at 21:20That remark isn't an actual error, just a warning. The real error can be found in the nested Compile Swift source files
under the top level section with the same name. Expand the logs for this command and you should see the actual error.
QUESTION
Where is the Xcode side by side code comparison option?
Asked 2022-Mar-29 at 07:21Since Xcode 13, code comparison default is no longer a side-by-side diff.
There must be a way of doing this still.
I am struggling to find the option!
ANSWER
Answered 2021-Sep-21 at 16:11Click on Code Review
(the blue button on the screenshot), the one with one arrow to the left and the other one to the right (or in View
Menu).
Then, on the second icon, select Side by Side Comparison
instead of Inline Comparison
(or in Editor
Menu).
"Commits list" is at the bottom, on the bar with Enable Breakpoints, etc.
QUESTION
How can I run Xcode 12.5.1 on Monterey?
Asked 2022-Mar-23 at 10:26I am facing a problem running older versions of Xcode on new Monterey OS.
ANSWER
Answered 2021-Nov-17 at 09:23The solution is very simple. If you have the older version downloaded in your Applications folder for example, lets say 12.5.1
version, you just need to:
- Open Terminal
- Open Applications folder
- Drag the Xcode app into Terminal so it gets its path
- Then add this next to it:
/Contents/MacOS/Xcode
, so the full command will be something like/Applications/Xcode-12.5.1.app/Contents/MacOS/Xcode
- Press enter to run the command
Now you should be able to run it. You will note that when you open this version of Xcode, the Terminal will open too, but don't close Terminal because it will close the Xcode too.
Here you can find older Xcode versions.
QUESTION
Tab & Navigation Bar changes after upgrading to XCode 13 (& iOS 15)
Asked 2022-Mar-22 at 05:47I have an iOS app, since upgrading to Xcode 13, I have noticed some peculiar changes to Tab and Navigation bars. In Xcode 13, there's now this black area on the tab and nav bars and on launching the app, the tab bar is now black as well as the navigation bar. Weird enough, if the view has a scroll or tableview, if I scroll up, the bottom tab bar regains its white color and if I scroll down, the navigation bar regains its white color.
N:B: I already forced light theme from iOS 13 and above:
1 if #available(iOS 13.0, *) {
2 window!.overrideUserInterfaceStyle = .light
3 }
4
Can anyone assist or point me in the right direction so as to deal with this peculiarity?
Is there a simple fix to get Storyboard to readjust or this is a case where I have to make changes to each view manually?
Example of Storyboard before upgrade:
and after:
Simulator screen before and after (respectively) upgrade:
ANSWER
Answered 2021-Sep-22 at 12:40first of all the problem is cause by unchecking translucent I fixed it by choosing navigation bar appearance from attributes inspector scroll edge it will fix it see this screen shot please
QUESTION
Xcode 13: Build hangs with "iPhone is busy: making Apple Watch ready for development"
Asked 2022-Mar-02 at 11:55Issue: The build hangs with "iPhone is busy: making Apple Watch ready for development"
Further facts:
- iOS 14.8
- iPhone 8
- watchOS 7.6.2
- Xcode 13
- Apple Watch Series 3 + Cellular (42mm)
Does anyone know a solution for that issue?
Many of the developers have the same issue:
ANSWER
Answered 2021-Nov-01 at 17:17According to this post, this issue is fixed with an upgrade to iOS 15.0.2 / watchOS 8.0.1: https://developer.apple.com/forums/thread/691452
QUESTION
Flutter iOS Error Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x203913130)
Asked 2022-Mar-01 at 05:29Hi am facing an issue while running flutter project in MacBook Air M1 chip Lap. Tried all possibilities couldn't find where is the exact problem.
All basic solutions like flutter clean, flutter pub get, pod deintegrate & install, flutter build ios, flutter run
but still same issue. only on iOS simulator not deploying.
Any solution for this. Thanks in advance.
Error
1Launching lib/main.dart on iPhone 13 in debug mode...
2Running pod install... 5.3s
3Running Xcode build...
4Xcode build done. 104.1s
5Failed to build iOS app
6Error output from Xcode build:
7β³
8 objc[25282]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x203913130) and
9 /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103bc02c8). One of the two will be used. Which one is undefined.
10 objc[25282]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x203913180) and
11 /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103bc0318). One of the two will be used. Which one is undefined.
12 ** BUILD FAILED **
13
flutter doctor -v
1Launching lib/main.dart on iPhone 13 in debug mode...
2Running pod install... 5.3s
3Running Xcode build...
4Xcode build done. 104.1s
5Failed to build iOS app
6Error output from Xcode build:
7β³
8 objc[25282]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libamsupport.dylib (0x203913130) and
9 /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103bc02c8). One of the two will be used. Which one is undefined.
10 objc[25282]: Class AMSupportURLSession is implemented in both /usr/lib/libamsupport.dylib (0x203913180) and
11 /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x103bc0318). One of the two will be used. Which one is undefined.
12 ** BUILD FAILED **
13[β] Flutter (Channel stable, 2.8.1, on macOS 12.0.1 21A559 darwin-arm, locale
14 en-IN)
15 β’ Flutter version 2.8.1 at
16 /Users/macsystem/Documents/developer/flutter
17 β’ Upstream repository https://github.com/flutter/flutter.git
18 β’ Framework revision 77d935af4d (7 weeks ago), 2021-12-16 08:37:33 -0800
19 β’ Engine revision 890a5fca2e
20 β’ Dart version 2.15.1
21
22[β] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
23 β’ Android SDK at /Users/macsystem/Library/Android/sdk
24 β’ Platform android-32, build-tools 32.0.0
25 β’ Java binary at: /Applications/Android
26 Studio.app/Contents/jre/Contents/Home/bin/java
27 β’ Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
28 β’ All Android licenses accepted.
29
30[β] Xcode - develop for iOS and macOS (Xcode 13.2.1)
31 β’ Xcode at /Applications/Xcode.app/Contents/Developer
32 β’ CocoaPods version 1.11.2
33
34[β] Chrome - develop for the web
35 β’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
36
37[β] Android Studio (version 2020.3)
38 β’ Android Studio at /Applications/Android Studio.app/Contents
39 β’ Flutter plugin can be installed from:
40 π¨ https://plugins.jetbrains.com/plugin/9212-flutter
41 β’ Dart plugin can be installed from:
42 π¨ https://plugins.jetbrains.com/plugin/6351-dart
43 β’ Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
44
45[β] Connected device (2 available)
46 β’ iPhone 13 (mobile) β’ 05EC9698-3C26-44B9-8DB0-B53C7B6576F3 β’ ios
47 β’ com.apple.CoreSimulator.SimRuntime.iOS-15-2 (simulator)
48 β’ Chrome (web) β’ chrome β’ web-javascript
49 β’ Google Chrome 97.0.4692.99
50
ANSWER
Answered 2022-Feb-02 at 04:43I have been facing this same issue for some time now. the same setup is working nicely in a mac with intel chip. But i have even done a resetup of my system, m1 mac still throws the same error.
QUESTION
Build error domain=com.apple.CoreSimulator.SimError, code=405
Asked 2022-Feb-13 at 11:30I can build on my iOS 15 emulator with no problems, but when building on my iOS 15 Device connected to xcode 13. I get the error:
error Failed to launch the app on simulator, An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405): Unable to lookup in current state: Shutdown.
Any ideas?
Console:
1success Successfully built the app
2--- xcodebuild: WARNING: Using the first of multiple matching destinations:
3{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
4{ platform:iOS Simulator, id:CECA2B5E-D9A0-4A52-8947-BF0838EBEDD6, OS:15.0, name:iPhone 8 }
5{ platform:iOS Simulator, id:4B8F148A-C39B-42B8-B982-82759A99BAF9, OS:15.0, name:iPhone 8 Plus }
6{ platform:iOS Simulator, id:8853D49D-06EB-4542-AE09-EFD94DC045D6, OS:15.0, name:iPhone 11 }
7{ platform:iOS Simulator, id:1F7B80D0-0CFE-4D4F-AF69-260D8F0D785C, OS:15.0, name:iPhone 11 Pro }
8{ platform:iOS Simulator, id:7AF2F670-7D7B-4C0D-B1A2-DDD9A8DC0554, OS:15.0, name:iPhone 11 Pro Max }
9{ platform:iOS Simulator, id:5A36169B-4CE3-4E54-AC1D-8E2550EAAF61, OS:15.0, name:iPhone 12 }
10{ platform:iOS Simulator, id:DA7C5083-DE28-40C8-83D3-7BA678311561, OS:15.0, name:iPhone 12 Pro }
11{ platform:iOS Simulator, id:C012CD47-9A6D-4B88-B209-4777EE57BD2A, OS:15.0, name:iPhone 12 Pro Max }
12{ platform:iOS Simulator, id:3C64ECA5-9EE0-4D2C-A0C9-82CAD36AE094, OS:15.0, name:iPhone 12 mini }
13{ platform:iOS Simulator, id:DBA58C7D-41CB-44B2-99FA-F07E5CB829B5, OS:15.0, name:iPhone 13 }
14{ platform:iOS Simulator, id:B43092DC-8F33-47BD-8429-A4D35C7FD7B8, OS:15.0, name:iPhone 13 Pro }
15{ platform:iOS Simulator, id:E587AD8C-D9B6-4683-9251-6D0F5DF50A57, OS:15.0, name:iPhone 13 Pro Max }
16{ platform:iOS Simulator, id:1A7AC21A-A578-40A7-9C81-53B7F90CAED6, OS:15.0, name:iPhone 13 mini }
17{ platform:iOS Simulator, id:352BE540-010B-4A15-B67D-965A884BB20D, OS:15.0, name:iPhone SE (2nd generation) }
18{ platform:iOS Simulator, id:24BBBFF1-FF95-453D-A952-66D3A93D611D, OS:15.0, name:iPod touch (7th generation) }
19{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
20{ platform:iOS Simulator, id:75F7457E-C581-4247-A1DC-E92CA319A693, OS:15.0, name:iPad (9th generation) }
21{ platform:iOS Simulator, id:1482EAA0-8637-4D49-A091-B604208127BB, OS:15.0, name:iPad Air (4th generation) }
22{ platform:iOS Simulator, id:38D1E279-3D1E-4248-8B9D-76A3480D1CF0, OS:15.0, name:iPad Pro (9.7-inch) }
23{ platform:iOS Simulator, id:54079569-B96E-4570-A076-732A2DED9E49, OS:15.0, name:iPad Pro (11-inch) (3rd generation) }
24{ platform:iOS Simulator, id:A0CBCD90-C028-420B-9D6F-07E6EDA643FC, OS:15.0, name:iPad Pro (12.9-inch) (5th generation) }
25{ platform:iOS Simulator, id:E034D4B3-770E-4AD1-8573-DF7984340F16, OS:15.0, name:iPad mini (6th generation) }
26info Installing "/Users/mattharris/Library/Developer/Xcode/DerivedData/myracnative-glxuojrfejxbhqgircpjgklctbto/Build/Products/Debug-iphonesimulator/myracnative.app"
27An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
28Unable to lookup in current state: Shutdown
29
ANSWER
Answered 2021-Sep-24 at 16:03do you run your code in an IDE? I faced the same problem today after updating XCode. If I run code in terminal I get other error: CompileSwiftSources normal x86_64 com.apple.xcode.tools.swift.compiler Try this
1success Successfully built the app
2--- xcodebuild: WARNING: Using the first of multiple matching destinations:
3{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }
4{ platform:iOS Simulator, id:CECA2B5E-D9A0-4A52-8947-BF0838EBEDD6, OS:15.0, name:iPhone 8 }
5{ platform:iOS Simulator, id:4B8F148A-C39B-42B8-B982-82759A99BAF9, OS:15.0, name:iPhone 8 Plus }
6{ platform:iOS Simulator, id:8853D49D-06EB-4542-AE09-EFD94DC045D6, OS:15.0, name:iPhone 11 }
7{ platform:iOS Simulator, id:1F7B80D0-0CFE-4D4F-AF69-260D8F0D785C, OS:15.0, name:iPhone 11 Pro }
8{ platform:iOS Simulator, id:7AF2F670-7D7B-4C0D-B1A2-DDD9A8DC0554, OS:15.0, name:iPhone 11 Pro Max }
9{ platform:iOS Simulator, id:5A36169B-4CE3-4E54-AC1D-8E2550EAAF61, OS:15.0, name:iPhone 12 }
10{ platform:iOS Simulator, id:DA7C5083-DE28-40C8-83D3-7BA678311561, OS:15.0, name:iPhone 12 Pro }
11{ platform:iOS Simulator, id:C012CD47-9A6D-4B88-B209-4777EE57BD2A, OS:15.0, name:iPhone 12 Pro Max }
12{ platform:iOS Simulator, id:3C64ECA5-9EE0-4D2C-A0C9-82CAD36AE094, OS:15.0, name:iPhone 12 mini }
13{ platform:iOS Simulator, id:DBA58C7D-41CB-44B2-99FA-F07E5CB829B5, OS:15.0, name:iPhone 13 }
14{ platform:iOS Simulator, id:B43092DC-8F33-47BD-8429-A4D35C7FD7B8, OS:15.0, name:iPhone 13 Pro }
15{ platform:iOS Simulator, id:E587AD8C-D9B6-4683-9251-6D0F5DF50A57, OS:15.0, name:iPhone 13 Pro Max }
16{ platform:iOS Simulator, id:1A7AC21A-A578-40A7-9C81-53B7F90CAED6, OS:15.0, name:iPhone 13 mini }
17{ platform:iOS Simulator, id:352BE540-010B-4A15-B67D-965A884BB20D, OS:15.0, name:iPhone SE (2nd generation) }
18{ platform:iOS Simulator, id:24BBBFF1-FF95-453D-A952-66D3A93D611D, OS:15.0, name:iPod touch (7th generation) }
19{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }
20{ platform:iOS Simulator, id:75F7457E-C581-4247-A1DC-E92CA319A693, OS:15.0, name:iPad (9th generation) }
21{ platform:iOS Simulator, id:1482EAA0-8637-4D49-A091-B604208127BB, OS:15.0, name:iPad Air (4th generation) }
22{ platform:iOS Simulator, id:38D1E279-3D1E-4248-8B9D-76A3480D1CF0, OS:15.0, name:iPad Pro (9.7-inch) }
23{ platform:iOS Simulator, id:54079569-B96E-4570-A076-732A2DED9E49, OS:15.0, name:iPad Pro (11-inch) (3rd generation) }
24{ platform:iOS Simulator, id:A0CBCD90-C028-420B-9D6F-07E6EDA643FC, OS:15.0, name:iPad Pro (12.9-inch) (5th generation) }
25{ platform:iOS Simulator, id:E034D4B3-770E-4AD1-8573-DF7984340F16, OS:15.0, name:iPad mini (6th generation) }
26info Installing "/Users/mattharris/Library/Developer/Xcode/DerivedData/myracnative-glxuojrfejxbhqgircpjgklctbto/Build/Products/Debug-iphonesimulator/myracnative.app"
27An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=405):
28Unable to lookup in current state: Shutdown
29sudo xcrun simctl shutdown all && sudo xcrun simctl erase all
30
QUESTION
Xcode log "Writing analzed variants"
Asked 2022-Jan-13 at 17:02Running Xcode 13 I see the following log when launching my iOS app in the Simulator:
Writing analzed variants.
Note that this is, hopefully, a misspelling of the log:
Writing analyzed variants.
What is causing this log noise? Is something in my code triggering it?
How can I hide this "Writing analzed variants." Xcode log?
ANSWER
Answered 2022-Jan-13 at 17:02According to Quinn βThe Eskimo!β at Apple Developer Technical Support, this message is Xcode log noise and can be ignored.
An Apple bug report should be filed to help flag and silence the log.
Itβs important to keep an eye on log messages and fix any obvious problems they call out. However, if you see a log message thatβs not obviously your fault, it could just be log noise.
There are two criteria you should apply here:
- Is the log message associated with a specific failure? That is, when you see the log message, do you also see other problems?
- Is the log message written in terms you understand? That is, does it reference APIs or data that youβre using?
If the answer to both of these questions is βNoβ, itβs reasonable to conclude that the log message is just noise and you can ignore it. If you find it to be particularly irksome, file a bug report requesting that it be silenced.
QUESTION
Xcode Workspace "Internal error: missingPackageDescriptionModule"
Asked 2022-Jan-13 at 13:34After updating Xcode to version 13.2 i can't build my project anymore. I have a strange error "Internal error: missingPackageDescriptionModule" related to my Workspace file.
It's definitely related to SPM because Xcode is not loading SPM packages also. I tried to "Reset package caches", "Resolve package caches" and also "Updating to latest package caches" but after all of these operating nothing happens. Deleting derived data, cleaning didn't help too...
I tried also to resolve packages from Terminal using xcodebuild -resolvePackageDependencies
but I get error message:
1--- xcodebuild: WARNING: The directory /Users/ptocicki/Developer/KFC/kfc-ios also contains the legacy project 'project.pbxproj' - ignoring it and using 'KFC.xcodeproj'.
2
3xcodebuild: error: Could not resolve package dependencies:
4 Internal error: missingPackageDescriptionModule"
5
ANSWER
Answered 2021-Dec-17 at 20:37Apple is aware of the issue.
We're currently investigating this issue β thank you to those who have filed bug reports so far. To workaround this issue, please re-download Xcode 13.2 directly from the Downloads page.
https://developer.apple.com/forums/thread/696504?answerId=698142022#698142022
Community Discussions contain sources that include Stack Exchange Network
Tutorials and Learning Resources in Xcode
Tutorials and Learning Resources are not available at this moment for Xcode