Post marked as unsolved
1.9k
Views
An existing framework library workspace compiles without error when targeting iOS device architecture, but when targeting Simulator I receive the following error:
Code Block
ld: in /Users/macbook/Documents/Projects/iOS/HungerStation/Code/customer-app-ios/Pods/mopub-ios-sdk/MoPubSDK/Viewability/MOAT/MPUBMoatMobileAppKit.framework/MPUBMoatMobileAppKit(MPUBMoatAnalytics.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
As per this https://developer.apple.com/forums/thread/655316
Changing build setting "Build Active Architecture Only" from No to Yes doesn't solve this problem
Has anyone else seen this?
Post marked as solved
27
Views
I create a Detail screen using a standard TableViewController. The TableView-Content option is Static Cells, the Table View Sell-Style option is Basic. The label is used by default, not custom. With the help of this line of code below, I try to pass a value to the label:
tableView.cellForRow(at: [0,0])?.textLabel?.text = item!.itemID
The value comes to the controller, I see it, but for some reason it is not displayed on the label and displays a nil in the debugger.
What could be the mistake?
Post marked as unsolved
7
Views
Using the Apple Store, I installed Xcode 12.0. However instead of starting, the application displays a small window with a yellow triangle ! stating that the plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.
I trashed Xcode and emptied the trash can and reinstalled, same issue.
Any assistance greatly appreciated.
Carl
Post marked as unsolved
3
Views
I've been having serious performance issues developing iOS apps since moving to Catalina.
Sometimes Xcode can take over a minute to open a small (under 4K lines) test project. Other times Xcode freezes with a spinning cursor before resuming on its own. In general it feels significantly slower than Mojave on the same MacBook Pro.
Now I'm wondering if this is a security/access issue caused by how I've configured my machine.
Instead of having everything in a single ~/Documents folder, my work files are spread across three APFS partitions: /Volumes/Catalina/Users/Shared
/Volumes/Mojave/Users/Shared
/Volumes/Work
Do I need to give Xcode extra access to these folders?
In 'System Preferences/Security & Privacy/Privacy/Files and Folders', only 'Documents' is listed under Xcode. Should I add these folders to that list? Or is there some other way/place to add them?
In general, has anyone had similar issues with Xcode on Catalina?
Specs:
MacBook Pro (13-inch, 2019, Four Thunderbolt 3 ports)
2.8 GHz Quad-Core Intel Core i7
16 GB RAM, 1 TB internal SSD
also an external 2 TB USB disk drive for backups.
using Xcode 11.6, Xcode 11.7, Xcode 12.0 GM
Post marked as unsolved
4
Views
I have a number of ViewControllers in my app, and one of them doesn't show any of the views/buttons/labels etc in it in the storyboard editing window (their position is highlighted when I click on them, but the whole view is gray. This is my main controller, so it makes Xcode kind of useless. Is anyone else seeing this behavior?
Post marked as unsolved
10
Views
Hello guys,
opening "Developer Documentation" ⇧+⌘+0 is constantly crashing my Xcode Version 12.0 (12A7209) on both of my iMac17,1 and MacBookPro14,3 they're running macOS Catalina 10.15.6 (19G2021).
Is that just me? ...or more of us experiencing issue?
Thank you, bye.
Post marked as unsolved
38
Views
Is anyone else experiencing problems with the new Xcode 12 (build 12A7209)? Specifically:
Xcode crashes spotlight when running Simulator or Previews
Xcode makes Macbook Pro run very hot and fans kick up
Using a Core Data template with SwiftUI and running it in Simulator produces a blank white screen and never shows the timestamp list.
Made a feedback ticket using Feedback Assistant, and attached a copy-pasted diagnostic error report for the Spotlight crashing issue.
Is anyone else experiencing this? (I'm on a Macbook Pro 2017 touch bar) on Catalina MacOS.
Is this just me? It's not like this Xcode is in beta anymore, right? The Mac App Store has the updated Xcode 12, but I can see on the Apple Download website that there's an Xcode 12.2 beta as well.. I'm assuming Apple just decided to copy-paste the Xcode 12 beta 6 and rename it Xcode 12.0 for the 12A7209 build and expect everything to work out fine.
My Mac can barely run it without fans blazing and fingers melting as I tap my lava keyboard..
Post marked as unsolved
24
Views
I am unable to add package dependency. Everything seems to load and resolve fine, but when I get to the bit where you are asked to "Choose package products and targets" The Package product is selected, but the "Finish" button is disabled....
Im on a DTK system and the project is a new project using the App lifecycle.
Ive also tried other adding other dependencies with no luck.
Post marked as unsolved
3
Views
Recently after iOS 14 have been released, I tested our app and I'm facing with an error when it try to get the request authorization for the push notification permission, always I get the follow error:
Error Domain=UNErrorDomain Code=1 "Notifications are not allowed for this application" UserInfo={NSLocalizedDescription=Notifications are not allowed for this application}
The message for the request authorization is never showed and I alway get the error.
In iOS 13 this work perfectly, this is happening only in iOS 14.
The only thing is that my app product name has the symbol "Ⓡ" in the name. I've deleted it but is not working.
The product has the capability to push notification in apple developer site and in the configuration file.
Some one that had faced with same error and has found some solution?
This is part of my code to register remote notifications:
UNUserNotificationCenter.current().getNotificationSettings(completionHandler: { settings in
if settings.authorizationStatus == .notDetermined {
let authOptions: UNAuthorizationOptions = [.alert, .badge, .sound]
UNUserNotificationCenter.current().requestAuthorization(
options: authOptions) { granted, error in
if granted {
DispatchQueue.main.async {
UIApplication.shared.registerForRemoteNotifications()
}
} else {
if let error1=error {
print("Error ->\(error1.localizedDescription)")
}
}
}
} else if settings.authorizationStatus == .denied {
//
} else if settings.authorizationStatus == .authorized {
DispatchQueue.main.async {
UIApplication.shared.registerForRemoteNotifications()
}
}
})
I think is an iOS 14 issue, because I found some other post where are describing the same issue.
Thanks.
Post marked as unsolved
43
Views
The current device configuration is unsupported. This iPhone XS Max is running iOS 14.0 (18A373), which is not supported by Xcode 11.7.
Domain: com.apple.dtdevicekit
Code: 601
Post marked as unsolved
20k
Views
Running Mojave 10.14.6Xcode 11.0 (11A420a)iOS 13.1.2iPhone 6s PlusI cannot seem to find the solution here or on Stack Overflow.When compiling, I keep getting this error:Command PhaseScriptExecution failed with a nonzero exit codeI tried in XcodeXcode > Preferences > Accountssigning in and outI have created a new Dev Cert, Distribution Cert, new PUSH certs, new provisional profilesI have tried pod updatesI have tried changing the Build Phase info with chmod +xas recommended by this posthttps://forums.developer.apple.com/thread/122796?start=0&tstart=0I have tried rebooting my phone. I have tried rebooting the computer. rebooting xcode (obviously)Don't know what else to do.
Post marked as solved
874
Views
When I try to open the Xcode Documentation inside Xcode 12 (downloaded from the app store), the whole app closes. Is anyone else seeing this
Post marked as unsolved
71k
Views
The title says it all...I am trying to install XCode, constantly getting that message, no matter what I try. Currently I have 41+ GB free space, XCode requires 6.1 according to App Store.Please suggest how to solve this issue.Thanks a lot in advance!
Post marked as unsolved
11
Views
With xcode 12 first time build fails for working project with previously installed cocoapods framework:
ld: framework not found Pods_CopticFind
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So, what changed from xcode 11.7 to 12?
Tried running:
pod deintegrate
pod update
No change, still same error.
2. Change Framework Search path to 'recursive'.
No change, still same error.
Post marked as unsolved
14
Views
The compilation problem is as follows:
The linked framework 'PodsXXXapp.framework' is missing one or more architectures required by this target: arm64.
How can I solve it?