Hi,im just new to XCode, the course im following the first 2 demo apps i build worked perfect. at some point they said to update all my software, so i updated to Xcode 11 and new OS Catalina. Every time i compile my project i get this error. CompileAssetCatalog failed with a nonzero exit code. i have been looking for over 4 hours to fix it so far no luck.
Search results for
Request failed with http status code 503
190,982 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello, I'm adding a camera extension to the existing application. The problem that it crashes with the following message in the console: Code has restricted entitlements, but the validation of its code signature failed. Unsatisfied Entitlements: However, it crashes under macOS 11.6 only. Interestingly, it works fine on other devices running macOS 12, 13 and even 11.6.1. I haven't tried it with older macOS versions, however I doubt it's going to work with them either. Is there a way to fix this? If you need any additional information, please let me know. codesign -d --entitlements :- /Applications/AppName.app com.apple.security.device.camera com.apple.security.device.audio-input com.apple.security.cs.disable-library-validation com.apple.developer.system-extension.install com.apple.security.application-groups 7XXXXXXX.com.example.AppName security cms -D -i /Applications/AppName.app/Contents/embedded.provisionprofile Entitlements com.apple.developer.system-extension.install com
I was working on my app in Xcode and, after making some changes in Interface Builder and installing to my iPhone, this error popped up:error: failed to launch '/private/var/containers/Bundle/Application/long number/MyApp.app' -- X’s iPhone6 has denied the launch request. (Where X is me).I've tried:Quitting and relaunching XcodePowering down and restarting the iPhoneInstalling the latest Xcode beta 9.1 Beta 9B46Toggling the checkmark for Automatically manage signingUsing Simulator (which works) I've found reference to this error elsewhere and some people had success by paying attention to their signing. I'm signing as an iOS Developer, so I don't know what else to do.
[NSURLSessionWebSocketTask sendPingWithPongReceiveHandler:] on iOS does not seem to call the completion handler when called twice in a row with an intervening call to send or receive a message. Here is a minimal reproduction from an Objective-C project. - (void)viewDidLoad { [super viewDidLoad]; NSURLSession* session = [NSURLSession sharedSession]; NSURLSessionWebSocketTask* task = [session webSocketTaskWithRequest: [[NSURLRequest alloc] initWithURL:[[NSURL alloc] initWithString:@wss://ws.postman-echo.com/raw]]]; [task resume]; [task sendPingWithPongReceiveHandler:^(NSError * _Nullable error) { printf(Got ping 1n); /* We will get to this line. */ [task sendPingWithPongReceiveHandler:^(NSError * _Nullable error) { printf(Got ping 2n); /* We will *not* get to this line. */ }]; }]; } Using WireShark, I can verify that NSURLSession sends two pings and that the server responds with two pongs. But the callback handler does not get called after the second pong. Does anyone have an suggestions on what I could be doin
Same here, also had a lot of builds fail because Xcode Cloud encountered HTTP 403 errors while downloading SPM dependencies. Apple Developer Service Status is all green, but I think they must be doing some background work, it should be back to normal soon.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
My Xcode Version 7.3.1 (7D1014)i use IB_DESIGNABLE and IBInspectable in Categroy and make it as a static lib or framework , when i use it in storyboard , it not work for me , and IB_DESIGNABLE property can not render in time.
I want to record screen ,and than when I call the method stopCaptureWithHandler:(nullable void (^)(NSError *_Nullable error))handler to stop recording and saving file. before call it,I check the value record of RPScreenRecorder sharedRecorder ,the value is false , It's weird! The screen is currently being recorded ! I wonder if the value of [RPScreenRecorder sharedRecorder].record will affect the method stopCaptureWithHandler: -(void)startCaptureScreen { [[RPScreenRecorder sharedRecorder] startCaptureWithHandler:^(CMSampleBufferRef _Nonnull sampleBuffer, RPSampleBufferType bufferType, NSError * _Nullable error) { //code } completionHandler:^(NSError * _Nullable error) { //code }]; } - (void)stopRecordingHandler { if([[RPScreenRecorder sharedRecorder] isRecording]){ // deal error .sometime isRecording is false }else { [[RPScreenRecorder sharedRecorder] stopCaptureWithHandler:^(NSError * _Nullable error) { }]; } } here are my code.
While working X code, got the error message in signing and capabilities Communication with Apple Failed. What does this mean and how can it be fixed?
Topic:
Developer Tools & Services
SubTopic:
Xcode
I am also seeing this error REDACTED[90541:220165864] [default] Failed to open URL REDACTED://company/1035: Error Domain=FBSOpenApplicationServiceErrorDomain Code=1 The request to open com.REDACTED.REDACTED failed. UserInfo={BSErrorCodeDescription=RequestDenied, NSUnderlyingError=0x600001036640 {Error Domain=FBSOpenApplicationErrorDomain Code=6 App has outstanding termination assertions UserInfo={BSErrorCodeDescription=Busy, NSLocalizedFailureReason=App has outstanding termination assertions}}, NSLocalizedDescription=The request to open com.REDACTED.REDACTED failed., FBSOpenApplicationRequestID=0xbafe, NSLocalizedFailureReason=The request was denied by service delegate (SBMainWorkspace) for reason: Busy (App has outstanding termination assertions).} @O_G, Did you find a fix for this?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Here is my code:#define STREAM_FORMAT_MSG(pre, sfm) pre [%f][%4.4s][%u][%u][%u][%u][%u][%u], sfm.mSampleRate, (char *)&sfm.mFormatID, (unsigned int)sfm.mFormatFlags, (unsigned int)sfm.mBytesPerPacket, (unsigned int)sfm.mFramesPerPacket, (unsigned int)sfm.mBytesPerFrame, (unsigned int)sfm.mChannelsPerFrame, (unsigned int)sfm.mBitsPerChannel static OSStatus RenderCallback(void *ref, AudioUnitRenderActionFlags *ioActionFlags, const AudioTimeStamp *inTimeStamp, UInt32 inBusNumber, UInt32 inNumberFrames, AudioBufferList *ioData) { return noErr; } - (BOOL)startAU{ AudioComponent au_component; AudioUnit au_unit; AudioComponentDescription desc; AURenderCallbackStruct callback; UInt32 i_param_size = 0; OSStatus status; desc.componentType = kAudioUnitType_Output; desc.componentSubType = kAudioUnitSubType_RemoteIO; desc.componentManufacturer = kAudioUnitManufacturer_Apple; desc.componentFlags = 0; desc.componentFlagsMask = 0; au_component = AudioComponentFindNext(NULL, &desc); if (au_compo
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Here is the QR code that produces the App Clip Unavailable card for me... https: //i.imgur.com/f4dklRn.png I should also note that this is a new app clip URL that is currently in Received status in App Store Connect, so maybe the issue goes away once it's in Published status?
Topic:
App & System Services
SubTopic:
General
Tags:
Hello everyone,In my application I'm trying to download data from Amazon server.In all devices expect iphone 4s (ios 8.4.1) everything works fine but with iphone4s I'm getting the following error:NSURLConnection/CFURLConnection HTTLP load failed kCFStreamErrorDomainSSl -9807(following the way I'm trying to download data, I also have the -9802 error code)The 2 download way I've tried so far was:- load data into NSData with NSData dataWithContentsOfURL (not really a good way to do it but file size is just 200 kb)- AWSS3TransferUtility with Cognito CredentialIn my info.plist, I've already set App Transport Security Setting with AllowArbitrary Loads set to true and set Exception Domains following AWS settingbut so far no luck for iphone 4s.Is there any known bug for this device?Could you please tell me if there is a way to fix this issue?I really thank you in advance for your help.
Xcode 7.1 is now out.We are still seeing Metal shaders which do not fail at compile time, but do fail at link time. They fail in an essentially mysterious way, which makes it impossible to reason about how to fix them. Does anyone have any insights into working around this problem?
From what I can tell, when using client certificate authentication with NSURLSession, it is impossible to get the actual server response if the supplied client certificate was not authorized on the server. Based on what I have found, if you supply a client certificate credential in -URLSession:task:didReceiveChallenge:completionHandler: and the server replies with a 403, then the -URLSession:task:didCompleteWithError: delegate method get called with an NSURLErrorClientCertificateRequired error.My app needs to see the actual headers that the server responded. I know that a valid response is being sent because I can see it in Wireshark and in CFNETWORK_DIAGNOSTICS output. The response property of the task object passed into -URLSession:task:didCompleteWithError: is nil so I can't use that. Is there anyway at all that I can get the response object in this circumstance or can anyone think of a workaround here?Thanks,Dustin
I am also seeing the same logs!:Dec 17 07:59:01 iPhone subridged[1648] <Error>: __main_block_invoke92: Install error Error Domain=SUBError Code=12 Failed to apply update UserInfo={NSLocalizedDescription=Failed to apply update, NSUnderlyingError=0x15cd177e0 {Error Domain=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize boot/firmware bundle. UserInfo={NSUnderlyingError=0x15cd2c1c0 {Error Domain=PersonalizationErrorDomain Code=3194 AMAuthInstallBundlePersonalize() failed: This device isn't eligible for the requested build. UserInfo={NSLocalizedDescription=AMAuthInstallBundlePersonalize() failed: This device isn't eligible for the requested build.}}, NSLocalizedDescription=Could not personalize boot/firmware bundle., target_update=13S344}}} with userInfo { NSLocalizedDescription = Failed to apply update; NSUnderlyingError = Error Domain=MobileSoftwareUpdateErrorDomain Code=2 Could not personalize b
Topic:
Developer Tools & Services
SubTopic:
Developer Forums
Tags: