Questions tagged [xcode12]

This tag should only be used for questions specific to the usage and features of Xcode 12. Do not use this tag just because you are using Xcode to develop your app. General Xcode questions should use the non-version specific xcode tag. Use tags appropriate for the OS such as ios or macos.

Xcode 12 is year 2020 version of Apple's IDE. Made available in beta at the start of WWDC 2020 on June 22, 2020. This provides support for iOS 14, macOS 11, watchOS 7, and tvOS 14.

783 questions
5
votes
2 answers

Mac OS Big Sur R compilation error: ld: framework not found CoreFoundation

After my Xcode automatically updated itself to 12.4, my Rstudio package compilation breaks and throws the following error: ld: framework not found CoreFoundation collect2: error: ld returned 1 exit status I have tried reinstalling Xcode…
segfault_101
  • 51
  • 1
  • 3
5
votes
0 answers

Convert SPM modules to .xcframework

My iOS project is split up in several SPM modules. Now I would like to distribute some of them as .xcframework. Is there a way to automatically create .xcframeworks out of the SPM modules? Or some (fastlane?) script I could use to create them?
swalkner
  • 16,679
  • 31
  • 123
  • 210
5
votes
0 answers

how to exclude specific architecture in command line xcode build

Right now i am generating xcode build for ios-simulators via command line which is look like this xcodebuild -workspace Test.xcworkspace -sdk iphonesimulator -configuration Release -scheme TestProd But for this build to get succeed i am changing…
5
votes
2 answers

XCode 12.3 building for iOS Simulator, but linking in dylib built for iOS, couchbaselite framework for architecture arm64 Using M1 Chipset

Encountered a build issue on IOS too with "building for iOS Simulator, but linking in dylib built for iOS, file '.../platforms/ios/Pods/CouchbaseLite/iOS/CouchbaseLite.framework/CouchbaseLite' for architecture arm64" I currently using nativescript…
Chinchan
  • 61
  • 1
  • 3
5
votes
5 answers

All storyboard, xib file don't update the frame or constraint on Macbook Pro M1 with rosetta (Encountered an error communicating with IBAgent-iOS)

I try to add constraint or load some of the storyboards or XIB files in my project but the storyboard doesn't update and can't see anything. This is my error screen capture: In the first picture, the label is shown in the simulator but the…
Trí Chồn
  • 617
  • 8
  • 15
5
votes
1 answer

Troubles with starting value using UISlider

Started working on the application. There was the following problem, in Main.storyboard the current value is set for the slider (for the top one it is 1.5 out of 3, and for the bottom one it is 100 out of 200), therefore, in the screenshot, I should…
TDMNS
  • 281
  • 1
  • 6
  • 19
5
votes
3 answers

How can I build the Google Analytics SDK on Apple Silicon ('M1') so it runs in the Xcode Simulator?

I've used the Google Analytics SDK (pod 'GoogleAnalytics') in my project for 8 years. It has always worked, until I recently moved to a new Mac with an M1 chip. On the new MacBook Pro, I can build and run the app on a test device. I can also archive…
5
votes
4 answers

Why can I install my app on iOS 14.1 but not 14.2?

Ever since installing Xcode 12.2, I can't install our app on simulators running iOS 14.2. I downloaded 14.1 and simulators running 14.1 install the app just fine. Tellingly, my coworker does not have this problem even though he's running the same…
dacoinminster
  • 3,637
  • 2
  • 18
  • 23
5
votes
0 answers

WKWebView Not detect the the video url of instragram and facebook and netflix video

i want to detect video url of facebook video and instrgram video url but WKWebView gives a youtube video url i already used WKWebView navigation delegate its not give the video url webView!.addObserver(self, forKeyPath: "URL", options: .new,…
5
votes
1 answer

Xcode shows "The document had 4 issues that were found and repaired./Multiple resources have the same name: groupTableViewBackgroundColor." alert

If I open one of the storyboards in my Xcode project, I get this alert: The document [storyboard name] had 4 issues that were found and repaired. This may be due to an SCM operation such as merging. Please save the document to fix the…
Tamás Sengel
  • 55,884
  • 29
  • 169
  • 223
5
votes
4 answers

Xcode 12 simulator crash

I'm getting weird crash in Xcode 12 simulator with signal SIGABRT right after launch. it is happening on released version of Xcode 12.0 and Xcode 12.0.1 I have tried with newest beta 12.2. App is working fine on device. I can not trace much due to…
Arslan Asim
  • 1,232
  • 1
  • 11
  • 29
5
votes
2 answers

Leaf cannot find my template - Xcode 12 Vapor 4

I updated from Vapor 3 to 4, and Xcode 11 to 12. Now Leaf cannot find my *.leaf templates. I get a "noTemplateFile" error.
AlexMath
  • 567
  • 1
  • 6
  • 16
5
votes
3 answers

Simple SwiftUI Background Image keeps moving when keyboard appears

This is driving me nuts. There seems to be new behaviour for handling background images in iOS14. Desired effect is: a fixed background image that fills the screen, ignoring the safe areas, and is totally static when the keyboard pops up. Instead…
Ryan
  • 336
  • 2
  • 9
5
votes
2 answers

iOS 14 / UI Testing DatePicker

I'm struggling fixing my UI tests for iOS 14 that set date on DatePicker views. They were previously running without any problems on iOS 13 when they were shown as wheel pickers. My code used to set the different wheels but since there aren't any…
G. Marc
  • 4,987
  • 4
  • 32
  • 49
5
votes
4 answers

Cannot build project with Xcode 12.0 beta 5

I downloaded Xcode 12.0 beta 5 and I'm trying to build my project, but I received the following error: :0: error: unable to load standard library for target 'arm64-apple-ios9.0' I tried searching online for solutions, but none of what I…
Dree
  • 702
  • 9
  • 29