Post not yet marked as solved
How do I transfer all my apple developers membership details to another apple ID user?
Post not yet marked as solved
All the required sizes are added to AppIcon.appiconset as per Xcode 13 format.
After upgrading the application from x version to y the new app icon is not reflected inside the folder if the old version was inside a folder on iPhone however expanded folder shows the new app icon when the user clicks on the folder.
Note: The application is changed to a new name and all the assets are updated as per the new name.
Post not yet marked as solved
Does someone knows how to fix this issues?
Post not yet marked as solved
I'm trying to create a messenger app and this error shows up. Can someone help me?
Post not yet marked as solved
Ok so I turned off my kids app store with screen time because he had too many apps. I tried to turn it back on and it isn't there. He restarted it and everything. We can not figure out what is happening. His apps are going out of date and he can not use them. If you know the solution that would be very helpful.
Thank you,
-Adam
Post not yet marked as solved
Is it possible to skip code sign in Xcode 14.2 (exactly new version) for MacOS App? I dont need this. App is for my personal use only.
Coz I don't know how to solve this problem. I've been trying for 2 weeks now. Looked at all forums. Tried all the tips. Finally, I registered a new Apple ID. The result hasn't changed.
Result each time:
CodeSign /Users/user/Server/TestApp/TestX/out/Debug/TestApp.app (in target 'TestApp' from project 'TestApp')
cd /Users/user/Server/TestApp/TestX
Signing Identity: "Apple Development: user@site.com (XXXXXXXXX)"
/usr/bin/codesign --force --sign XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX --deep -o runtime --entitlements /Users/user/Server/TestApp/TestX/out/build/TestApp.build/Debug/TestApp.app.xcent --timestamp\=none --generate-entitlement-der /Users/user/Server/TestApp/TestX/out/Debug/TestApp.app
/Users/user/Server/TestApp/TestX/out/Debug/TestApp.app: internal error in Code Signing subsystem
Command CodeSign failed with a nonzero exit code
PS. Set «Code Sign Identity» to empty doesn't work (advice on many forums).
Post not yet marked as solved
Hello all,
I tried to create a list view using NSAttributedString text. It shows the text and the images. However, the text won't soft wrap to the new line. Any suggestion how to resolve it. Thanks.
Here is my codes:
import SwiftUI
struct ContentView1: View {
let contacts = [
"John",
"Alice",
"Bob",
"Foo",
"Bar"
]
var body: some View {
let NSString = NSAttributedString(string:
"""
This is UILabel, one of the most interesting View class in UIKit.
With autolayout and multiline and it often give you some surprises.
Now using it with SwiftUI = 🤯
"""
)
List {
ForEach(contacts, id: \.self) { contact in
Text(contact)
SUILabel(NSString, preferredMaxLayoutWidth: UIScreen.main.bounds.width)
}
}
//SUILabel(NSString, preferredMaxLayoutWidth: UIScreen.main.bounds.width)
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
}
}
struct SUILabel: UIViewRepresentable {
private(set) var preferredMaxLayoutWidth: CGFloat = 0
var attributedString: NSAttributedString
init(_ attributedString: NSAttributedString, preferredMaxLayoutWidth: CGFloat) {
self.attributedString = attributedString
}
func makeUIView(context: UIViewRepresentableContext<SUILabel>) -> UILabel {
let label = UILabel()
label.attributedText = attributedString
label.numberOfLines = 0
label.preferredMaxLayoutWidth = preferredMaxLayoutWidth
label.backgroundColor = UIColor.black
label.textColor = UIColor.white
label.lineBreakMode = NSLineBreakMode.byWordWrapping
return label
}
func updateUIView(_ uiView: UILabel, context: UIViewRepresentableContext<SUILabel>) {
uiView.attributedText = self.attributedString
}
}
Post not yet marked as solved
Hi
We're working on an app that uses RealityKit to present products in the customer's home.
We have a bug where every once in a while (somewhere around 1 in 100 runs), all entities are rendered using the green channel only (see image below).
It seems to happen to occur in all entities in the ARView, regardless of model or material type.
Due to the flaky nature of this bug, I found it really hard to debug, and I can't seem to rule out an internal issue in RealityKit.
Did anyone run into similar issues or have any hints of where to look for the culprit?
Post not yet marked as solved
My company uses Git repositories hosted with a service called Beanstalk. These are standard Git repositories that I can work with in the terminal window using the 'git' command line interface, which works fine and remembers my credentials.
I'd like to use Xcode's integrated version control support, but it has never worked correctly with my repositories. In some cases, it works but prompts me to enter my credentials each time I try to do something. In other cases, it fails with a message that says "failed to start SSH session: Unable to exchange encryption keys".
The account settings on Xcode only let you set up accounts with specific hosted Git services (Github, Gitlab, Bitbucket). It's nice that Xcode recognizes these specific Git providers, but how do I set up a repository that is hosted elsewhere?
Thanks.
Post not yet marked as solved
Does there exist any functionality for checkpointing a live running process to a disk snapshot and then resuming execution for OSX?
Similar to CRIU for Linux: https://criu.org/Main_Page
I have read there was similar solutions for FreeBSD which is more similar to OSX perhaps than Linux.
The benefit would be that applications which have a slow start-up time can be restarted faster, which especially happens a lot for developers.
Post not yet marked as solved
I was curious to see the vertex positions of an MDLMesh for a boxWithExtent and I have notices a strange behaviour. When I print out the positions and normals for the first 3 vertices you get the below values. What I find weird is that for the 1st vertex we get 2 0.0s at the end to fit the stride for sims_float4 but weirdly for every subsequent vertex this becomes 1.0 - 0.0. Anyone has any idea why metal does this instead of just filling the last two positions with 0.0s as the first vertex. Thank you
0.5
0.5
0.5
-1.0
-0.0
-0.0
0.0
0.0
0.5
0.5
-0.5
-1.0
-0.0
-0.0
1.0
0.0
0.5
-0.5
0.5
-1.0
-0.0
-0.0
0.0
1.0
Post not yet marked as solved
My app has been "waiting in review" for several days. Usually it at least gets into review within 24 hours, sometimes even approved within that time frame. Is there a slowdown during the holiday season? I read that Apple was supposedly keeping the review process working during the holidays
Post not yet marked as solved
I transferred an app to a new developer account about 2 months ago.
Since then, I am unable to view crashes through the Xcode Organiser.
It gives me the error title "Error downloading Crashes List" with message "An error occurred preventing Xcode from downloading crashes list. xxxxxx@xxxxxx failed with error: Access Restricted with bundle id: xxxxx.xxxxx.xxxxx
The account listed is the OLD account that owned the app. So it is trying to download crash reports from the old account and not the new account.
How can I let it know the account changed for this app?
The project itself has been updated to use the new account certs and i've even submitted multiple builds to the new account.
Post not yet marked as solved
Hey all,
Would anyone happen to know why CIDetectorAccuracyHigh won't work on a simulator? It always can't find a face in any image. Can't find anything to suggest it shouldn't work online.
The same code below is able to find a face on sim if I use CIDetectorAccuracyLow:
public func retrieveFacesFrom(_ image: CIImage, completion: @escaping ([Feature]?) -> ()) {
let ciDetector = CIDetector(ofType: CIDetectorTypeFace,
context: nil,
options: [CIDetectorAccuracy : CIDetectorAccuracyHigh])
let features = ciDetector?.features(in: image) as? [CIFeature]
completion(features?.map { Feature(bounds: $0.bounds) })
}
Thanks in advance.
Post not yet marked as solved
Hi,
In macOS Ventura 13.1, the system extension used alongside our app is not deleted anymore. When deleting the app, the message "The application “XXXXX.app” is hosting system extensions. These extensions will be removed if you continue." is displayed. After clicking on continue, the app is correctly deleted but the extension is still visible in the "Full Disk Access" parameters. It is also still visible and "activated enabled" when running command "systemextensionsctl list". Finally, if I try to delete the extension directly from the folder /Library/SystemExtensions, I get the following message: "The operation can’t be completed because you don’t have permission to access some of the items."
On Monterey, we are able to uninstall the extension just by deleting it from the Application folder. I have also the permission to delete the extension from the SystemExtensions folders.
Is there a known work around for this issue? Will it be fixed in the future releases of macOS Ventura?
Thank you in advance for your help
Post not yet marked as solved
I observed strange behaviour in regards to orientation, when I convert image representation from JPEG to PNG (UIImagePNGRepresentation/UIImageJPEGRepresentation), it loose the imageOrientation property value.
Though didn't found any apple document on this, can anyone confirm, if the same behaviour is observed.
Post not yet marked as solved
Because the icloud.com notes etc. are implemented with Canvas it makes it impossible to dabble around with f.ex. dark reader. Any explanations or guesses why they decided to implement it with canvas and not text?
Post not yet marked as solved
Hi!
I configured my system to collect core dumps on app crash, but it turned out that in some cases the system becomes unresponsive after a user app crashes.
I was unable to reproduce the issue crashing simple C or even C# (by .NET runtime) programs, but for example it always happens after crashes of our unit tests (NUnit framework, and .NET 7 runtime): the corresponding core file appears on the disk, but an attempt to copy/open that file hangs forever:
$ ls -la .../core.dotnet.5406.511
-r-------- 1 ... staff 30273536 Jan 2 09:19 .../core.dotnet.5406.511
$ cp /opt/buildAgent/temp/buildTmp/core.dotnet.5406.511 1
^C^C^C^C^C^C^C^C^C^C^Z(hangs)
And now at that time I cannot open Activity Monitor, or Console, or Terminal (they are just bouncing in the Dock), sw_vers command doesn't work (as well as lldb and sample), and according to ps they get stuck in an uninterruptible wait:
$ sw_vers
(hangs)^C
$ sudo lldb -p 5477
(hangs)^C
$ sudo sample -p 5477
(hangs)^C [Interrupted]
Not currently sampling -- exiting immediately.
$ ps ax | grep " U"
1 ?? Us 1:03.58 /sbin/launchd
5406 ?? U 0:59.11 .../dotnet exec [...]
5477 s000 U+ 0:00.00 cp .../core.dotnet.5406.511 1
5496 s001 S+ 0:00.00 grep U
After a reboot, the core file is not saved and everything works fine again until the same case:
$ ls -la .../core.dotnet.5406.511
-r-------- 1 ... staff 0 Jan 2 09:19 .../core.dotnet.5406.511
Just in case, here are the entitlements of dotnet:
$ codesign -d --entitlement :- .../dotnet
Executable=.../dotnet
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
<key>com.apple.security.cs.debugger</key>
<true/>
<key>com.apple.security.get-task-allow</key>
<true/>
</dict>
</plist>
I didn't see this issue on macOS Catalina 10.15.7, is there anything I can help with?
--
.NET SDK 7.0.100
macOS Big Sur 11.7.1
Post not yet marked as solved
Hello,
we have weird crash in our app that mostly seems to happen right after launch. It is quite rare and so far I haven’t been able to reproduce it (the info below comes from Crashlytics).
The main error message I have is this:
failed to demangle witness for associated type 'Property' in conformance 'SwiftUI.StateObject<AppBlock.QuickBlockActivityViewModel>.(unknown context at $18f34e5b8).Box: DynamicPropertyBox' from mangled name ' � ��yxG' - subject type x does not conform to protocol ObservableObject
And here is the stack trace:
Crashed: com.apple.main-thread
0 libsystem_kernel.dylib 0x7200 __pthread_kill + 8
1 libsystem_pthread.dylib 0x71ac pthread_kill + 268
2 libsystem_c.dylib 0x20ca0 abort + 180
3 libswiftCore.dylib 0x3d7304 swift::fatalError(unsigned int, char const*, ...) + 134
4 libswiftCore.dylib 0x3d7324 swift::warningv(unsigned int, char const*, char*) + 30
5 libswiftCore.dylib 0x3ee678 swift_getAssociatedConformanceWitnessSlowImpl(swift::TargetWitnessTable<swift::InProcess>*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetMetadata<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*, swift::TargetProtocolRequirement<swift::InProcess> const*) + 2078
6 libswiftCore.dylib 0x3ecb9c swift_getAssociatedTypeWitness + 236
7 SwiftUI 0x5b838 OUTLINED_FUNCTION_49 + 640
8 SwiftUI 0xa8d68 OUTLINED_FUNCTION_513 + 16260
9 SwiftUI 0x58244 OUTLINED_FUNCTION_177 + 10892
10 SwiftUI 0x95524 OUTLINED_FUNCTION_1160 + 6632
We are using the view model (QuickBlockActivityViewModel) in a SwiftUI view that is part of collection view using the new UIHostingConfiguration from iOS 16.
Our view model is a subclass of view model for older iOS versions that conforms to ObservableObject and is marked as @MainActor.
And the view model is used like this:
@StateObject private var viewModel = QuickBlockActivityViewModel()
Internally the view model uses Combine to monitor a couple of states from other parts of the app to modify its properties.
Post not yet marked as solved
Hi, I wanna test playing ll-hls in simulator, my devices and other tester's devices.
the key 'com.apple.developer.coremedia.hls.low-latency', introduced at https://developer.apple.com/videos/play/wwdc2019/502, was disabled in XCode. Thus I can't add this key to my entitlement.
But This capabilities table, (https://developer.apple.com/help/account/reference/supported-capabilities-ios/), said ADP only can add 'Low Latency HLS' to App ID Configuration. I've also checked I can add this capability in my ADP memberships and my App page.
Is it possible to play ll-hls only for apps that have been checked 'Low Latency HLS' Capability and distributed to AppStore or TestFlights?
If I run directly by xcode to my device, I can't play ll-hls?
I couldn't find any documentations about 'Low Latency HLS' Capability and its affect.