Post not yet marked as solved
OK, i got it fixed. I updated Electron.
Post not yet marked as solved
This is still not working for me. And I am not using a beta version, just the usual Xcode 15.0.1
Post not yet marked as solved
I had to remove and newly add the VPN connection in the MacOS settings. After that with the 2nd try to connect it works. Mysterious. (Cisco IPsec to a Lancom Router)
Post not yet marked as solved
That was it for me, too. A restart of the Mac resolved the issue. Thanks.
Post not yet marked as solved
We had today a similar case that it was not working anymore on iOS 13.4. The gpx file was flagged with the icon of our app, but the "copy into app" menu entry was missing. A restart of the smartphone did solve it.
Post not yet marked as solved
Thank you, but that did not work.Instead I found here the solution for my problem:https://forums.developer.apple.com/thread/120530
Post not yet marked as solved
God bless you. You saved my life.I had the same issue with OS X Catalina, and Xcode 11.1 (both no beta, normal release version). Xcode was crashing after opening a specific project with a specific local Mac Account. After running your commands, it works.
Post not yet marked as solved
XCode 11 (release, no beta) with OS X Catalina (release, no beta) crashes on opening a project with following error. Any ideas?Process: Xcode [7847]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 11.1 (15405)
Build Info: IDEFrameworks-15405000000000000~13 (11A1027)
App Item ID: 497799835
App External ID: 832925179
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7847]
User ID: 501
Date/Time: 2019-10-08 20:31:51.032 +0200
OS Version: Mac OS X 10.15 (19A583)
Report Version: 12
Bridge OS Version: 4.0 (17P572)
Anonymous UUID: F8C1BB19-9E5F-1B9B-C625-76FAA6D1291A
Sleep/Wake UUID: E856930D-D70C-490F-8603-6A468664C8F9
Time Awake Since Boot: 15000 seconds
Time Since Wake: 1700 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: IDEContainer - uniquing lock
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 11A1027
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-15403/DVTFoundation/FileTypes/DVTFileDataType.mm:156
Details: Assertion failed: identCStr && identCStr[0]
Function: DVTPrimitiveFileDataType *_DVTGetPrimitiveFileDataTypeForIdentifierCStr_unlocked(const char *)
Thread: {number = 1, name = main}
Hints:
Backtrace:
0 -[IDEAssertionHandler handleFailureInFunction:fileName:lineNumber:assertionSignature:messageFormat:arguments:] (in IDEKit)
1 _DVTAssertionHandler (in DVTFoundation)
2 _DVTAssertionFailureHandler (in DVTFoundation)
3 _DVTAssertionFailureHandler (in DVTFoundation)
4 _DVTGetPrimitiveFileDataTypeForIdentifierCStr_unlocked (in DVTFoundation)
5 _DVTGetPrimitiveFileDataTypeForIdentifier_unlocked (in DVTFoundation)
6 _DVTCreatePrimitiveFileDataTypeForIdentifierCStr_unlocked (in DVTFoundation)
7 _DVTGetPrimitiveFileDataTypeForIdentifierCStr_unlocked (in DVTFoundation)
8 +[DVTFileDataType fileDataTypeFromStringRepresentation:] (in DVTFoundation)
9 +[DVTFileDataType fileDataTypeWithIdentifier:] (in DVTFoundation)
10 +[DVTFileDataType _fileDataTypeForFileAtPath:consideringFileContent:error:] (in DVTFoundation)
11 +[DVTFileDataType fileDataTypeForFilePath:error:] (in DVTFoundation)
12 DVTLazyInitAtomicDiscarding (in DVTFoundation)
13 -[DVTFilePath cachedValueForKey:] (in DVTFoundation)
14 -[IDEFileReference presumedFileDataType] (in IDEFoundation)
15 -[IDEFileReference _resolveReferencedContainerExtension] (in IDEFoundation)
16 -[IDEFileReference referencedContainerExtension] (in IDEFoundation)
17 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] (in IDEFoundation)
18 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] (in IDEFoundation)
19 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] (in IDEFoundation)
20 -[IDEContainer _locateFileReferencesRecursivelyInGroup:] (in IDEFoundation)
21 -[IDEContainer _locateFileReferencesRecursively] (in IDEFoundation)
22 __46-[IDEContainer _didReadOperationWithFilePath:]_block_invoke (in IDEFoundation)
23 -[DVTOperation main] (in DVTFoundation)
24 -[IDEContainer _readAsyncIfPossibleFromFilePath:error:] (in IDEFoundation)
25 -[IDEContainer initWithFilePath:extension:workspace:options:error:] (in IDEFoundation)
26 -[Xcode3Project initWithFilePath:extension:workspace:options:error:] (in DevToolsCore)
27 __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke_2 (in IDEFoundation)
28 _dispatch_client_callout (in libdispatch.dylib)
29 _dispatch_lane_barrier_sync_invoke_and_complete (in libdispatch.dylib)
30 DVTDispatchBarrierSync (in DVTFoundation)
31 -[DVTDispatchLock performLockedBlock:] (in DVTFoundation)
32 __82+[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:]_block_invoke (in IDEFoundation)
33 __58-[DVTModelObjectGraph performBlockCoalescingModelChanges:]_block_invoke (in DVTFoundation)
34 -[DVTModelGraphTransactionScope performTransaction:] (in DVTFoundation)
35 -[DVTModelObjectGraph performBlockCoalescingModelChanges:] (in DVTFoundation)
36 +[IDEContainer _retainedContainerAtFilePath:fileDataType:workspace:options:error:] (in IDEFoundation)
37 +[IDEContainer retainedContainerAtFilePath:fileDataType:workspace:error:] (in IDEFoundation)
38 -[IDEFileReference _recalculateReferencedContainer] (in IDEFoundation)
39 -[IDEFileReference referencedContainer] (in IDEFoundation)
40 -[IDEContainer _resolveFileReference:] (in IDEFoundation)
41 __67-[IDEContainer initWithFilePath:extension:workspace:options:error:]_block_invoke.414 (in IDEFoundation)
42 -[_DVTTimeSlicedMainThreadUnorderedUniquingWorkQueue _processWorkItemsWithDeadline:] (in DVTFoundation)
43 -[DVTTimeSlicedMainThreadWorkQueue _processWithDeadline:] (in DVTFoundation)
44 -[_DVTTimeSlicedMainThreadActiveWorkQueues _processWorkQueuesOnDeadline] (in DVTFoundation)
45 __NSFireDelayedPerform (in Foundation)
46 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation)
47 __CFRunLoopDoTimer (in CoreFoundation)
48 __CFRunLoopDoTimers (in CoreFoundation)
49 __CFRunLoopRun (in CoreFoundation)
50 CFRunLoopRunSpecific (in CoreFoundation)
51 RunCurrentEventLoopInMode (in HIToolbox)
52 ReceiveNextEventCommon (in HIToolbox)
53 _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox)
54 _DPSNextEvent (in AppKit)
55 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit)
56 -[DVTApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in DVTKit)
57 -[NSApplication run] (in AppKit)
58 NSApplicationMain (in AppKit)
59 main (in Xcode)
60 start (in libdyld.dylib)
abort() called
Post not yet marked as solved
I am not an export in this, but maybe you can try and play around with the values of LSHandlerRank and CFBundleTypeRole.https://developer.apple.com/documentation/bundleresources/information_property_list/cfbundledocumenttypes/lshandlerrankhttps://developer.apple.com/documentation/bundleresources/information_property_list/cfbundleurltypes/cfbundletyperole
Post not yet marked as solved
We solved it by re-adding all the file definitions in our App-Info.plist file by using Apples documentation and the Xcode Project Editor (In Xcode click on the project item at the top of the file tree. Then click on the tab "Info".) We used for that an iPhone SE with the newest iOS 13 beta and Xcode 11 GM (11A420a).The manual:https://developer.apple.com/library/archive/qa/qa1587/_index.html(See also the troubleshooting tips at the bottom.)The result in the plist file looks like this:...
<key>CFBundleDocumentTypes</key>
<array> <dict> <key>CFBundleTypeIconFiles</key> <array/> <key>CFBundleTypeName</key> <string>KML File</string> <key>CFBundleTypeRole</key> <string>Editor</string> <key>LSHandlerRank</key> <string>Owner</string> <key>LSItemContentTypes</key> <array> <string>org.example.app.document.kml</string> </array> </dict> </array>...
<key>UTExportedTypeDeclarations</key>
<array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeDescription</key> <string>KML File</string> <key>UTTypeIconFiles</key> <array/> <key>UTTypeIdentifier</key> <string>org.example.app.document.kml</string> <key>UTTypeTagSpecification</key> <dict> <key>public.filename-extension</key> <array> <string>kml</string> </array> </dict> </dict> </array>...
Post not yet marked as solved
Use seconds instead of java Date milliseconds or use Date objects directly. And write complete JWSHeader and JWTClaimSet.String inputKeyFile = readAppleKeyFile();
inputKeyFile = inputKeyFile.replaceFirst("-----BEGIN PRIVATE KEY-----", "");
inputKeyFile = inputKeyFile.replaceFirst("-----END PRIVATE KEY-----", "");
inputKeyFile = inputKeyFile.replaceAll("\\s", "");
String clientSecret = "";
try {
final byte[] keyBytes = java.util.Base64.getDecoder().decode(inputKeyFile);
final KeyFactory keyFactory = KeyFactory.getInstance("EC");
final PrivateKey privateKey = keyFactory.generatePrivate(new PKCS8EncodedKeySpec(keyBytes));
final Date timestamp = new Date();
final Date exp = new Date(timestamp.getTime() + ttlMs);
// see https://developer.apple.com/documentation/signinwithapplerestapi/generate_and_validate_tokens
final JWSHeader header = new JWSHeader.Builder(JWSAlgorithm.ES256)
.keyID(keyId)
.build();
final JWTClaimsSet claimsSet = new JWTClaimsSet.Builder()
.issuer(teamId)
.issueTime(timestamp)
.expirationTime(exp)
.audience(audience)
.subject(clientId)
.build();
SignedJWT signedJWT = new SignedJWT(header, claimsSet);
JWSSigner signer = new ECDSASigner((java.security.interfaces.ECPrivateKey) privateKey);
signedJWT.sign(signer);
String token = signedJWT.serialize();
System.out.println(token);
clientSecret = token;
} catch (Exception e) {
e.printStackTrace();
}