The documentation says:To verify ownership of your domain, select Download to get the verification file, upload it at the URL listed below, and click Verify.../example.com/.well-known/apple-developer-domain-association.txt (I used here ../ to avoid the message from being moderate)How do you create a folder called .well-known?I got this error:You can’t use a name that begins with a dot because these names are reserved for the system. Please choose another name.
Post
Replies
Boosts
Views
Activity
Thank fou for your answer.
I also get now a Preferences quit unexpectedly log:Process: Preferences [17681]Path: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/Preferences.app/PreferencesIdentifier: PreferencesVersion: 1 (190)Code Type: X86-64 (Native)Parent Process: launchd_sim [8331]Responsible: SimulatorTrampoline [742]User ID: 501Date/Time: 2020-06-03 16:39:49.516 +0200OS Version: Mac OS X 10.15.5 (19F101)Report Version: 12Anonymous UUID: 18D96363-734C-21B7-7573-35D15FA62529Time Awake Since Boot: 19000 secondsSystem Integrity Protection: enabledCrashed Thread: 0Exception Type: EXC_CRASH (SIGKILL)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYTermination Reason: Namespace SPRINGBOARD, Code 0x8badf00dApplication Specific Information:dyld: launch, loading dependent librariesDYLD_SHARED_CACHE_DIR=/Users/MyUsername/Library/Developer/CoreSimulator/Caches/dyld/19F101/com.apple.CoreSimulator.SimRuntime.iOS-13-5.17F61DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRootDYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/FrameworksDYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/System/Library/Frameworks/CoreTelephony.framework/CoreTelephonyThread 0 Crashed:0 dyld 0x00000001119a112a __mmap + 101 dyld 0x000000011199f75a mmap + 812 dyld_sim 0x000000010a4cf1e9 ImageLoaderMachO::mapSegments(int, unsigned long long, unsigned long long, unsigned long long, ImageLoader::LinkContext const&) + 4633 dyld_sim 0x000000010a4cff75 ImageLoaderMachOCompressed::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, unsigned int, unsigned int, linkedit_data_command const*, encryption_info_command const*, ImageLoader::LinkContext const&) + 3414 dyld_sim 0x000000010a4cbc2d ImageLoaderMachO::instantiateFromFile(char const*, int, unsigned char const*, unsigned long, unsigned long long, unsigned long long, stat const&, ImageLoader::LinkContext const&) + 1435 dyld_sim 0x000000010a4bd5dd dyld::loadPhase6(int, stat const&, char const*, dyld::LoadContext const&) + 6666 dyld_sim 0x000000010a4c1d95 dyld::loadPhase5(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) + 12167 dyld_sim 0x000000010a4c1873 dyld::loadPhase4(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) + 1858 dyld_sim 0x000000010a4c15dd dyld::loadPhase3(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) + 14359 dyld_sim 0x000000010a4c0d81 dyld::loadPhase1(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) + 18310 dyld_sim 0x000000010a4bd2f6 dyld::loadPhase0(char const*, char const*, dyld::LoadContext const&, unsigned int&, std::__1::vector<char const*, std::__1::allocator<char const*> >*) + 18611 dyld_sim 0x000000010a4bd00c dyld::load(char const*, dyld::LoadContext const&, unsigned int&) + 18512 dyld_sim 0x000000010a4c21b7 dyld::libraryLocator(char const*, bool, char const*, ImageLoader::RPathChain const*, unsigned int&) + 5513 dyld_sim 0x000000010a4c8141 ImageLoader::recursiveLoadLibraries(ImageLoader::LinkContext const&, bool, ImageLoader::RPathChain const&, char const*) + 34714 dyld_sim 0x000000010a4c72fc ImageLoader::link(ImageLoader::LinkContext const&, bool, bool, bool, ImageLoader::RPathChain const&, char const*) + 9015 dyld_sim 0x000000010a4bedf3 dyld::link(ImageLoader*, bool, bool, ImageLoader::RPathChain const&, unsigned int) + 16116 dyld_sim 0x000000010a4bff48 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 303517 dyld_sim 0x000000010a4bb1cd start_sim + 12218 dyld 0x000000011195379a dyld::useSimulatorDyld(int, macho_header const*, char const*, int, char const**, char const**, char const**, unsigned long*, unsigned long*) + 230819 dyld 0x0000000111951432 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 83720 dyld 0x000000011194c227 dyldbootstrap::start(dyld3::MachOLoaded const*, int, char const**, dyld3::MachOLoaded const*, unsigned long*) + 45321 dyld 0x000000011194c025 _dyld_start + 37Thread 0 crashed with X86 Thread State (64-bit): rax: 0x000000010bcb6000 rbx: 0x000000010a5191e8 rcx: 0x00007ffee575cb58 rdx: 0x0000000000000000 rdi: 0x000000010bcb6000 rsi: 0x00000000000e0000 rbp: 0x00007ffee575cb80 rsp: 0x00007ffee575cb58 r8: 0x0000000000000003 r9: 0x0000000000000000 r10: 0x0000000000000012 r11: 0x0000000000000202 r12: 0x0000000000000003 r13: 0x0000000000000000 r14: 0x00000000000e0000 r15: 0x0000000000000012 rip: 0x00000001119a112a rfl: 0x0000000000000202 cr2: 0x000000010bcb6000Logical CPU: 0Error Code: 0x020000c5Trap Number: 133Binary Images: 0x10a496000 - 0x10a4acff3 com.apple.Preferences (1 - 190) <8BF474D1-EF67-34E3-8214-610C7654C522> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Applications/Preferences.app/Preferences 0x10a4ba000 - 0x10a50fd6f +dyld_sim (750.4.2) <548289A2-DC22-3BAA-A2F6-01EADE8D86D7> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim 0x10a560000 - 0x10a58aff5 com.apple.preferences-ui-framework (1.0 - 190) <290A8602-452E-35E2-80AF-66C935608C2D> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/PreferencesUI.framework/PreferencesUI 0x10a5ba000 - 0x10a6c5ff4 com.apple.preferences-framework (1 - 4245) <6919012A-F2C6-3205-9DDC-CB61F8E3D709> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Preferences.framework/Preferences 0x10a7fa000 - 0x10a7feffe com.apple.AggregateDictionary (1.0 - 1) <91332279-54D1-316C-9E9B-04A4BA447AA1> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary 0x10a80a000 - 0x10a88cff5 com.apple.framework.IOKit (2.0.2 - 1726.100.16) <456B5ACE-6A46-3FD3-8FF4-6D5E7A94643D> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x10a8e3000 - 0x10a8f2ff5 com.apple.AssertionServices (1.0 - 223.100.31) <DAFB710B-EF06-311D-AFAD-C4A1D7A8409A> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/AssertionServices.framework/AssertionServices 0x10a90e000 - 0x10aa34ffc com.apple.managedconfiguration (1.0 - 1.0) <1968EDDA-DD94-3714-8BBB-A57BA26700EE> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration 0x10ab57000 - 0x10ad09ff0 com.apple.WebKitLegacy (8609 - 8609.2.9.0.3) <E18CC58C-FB07-3F97-9440-FB6F0898AE9B> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy 0x10aeab000 - 0x10b0a3fff com.apple.storeservices (1) <109712A9-609F-3ED0-B2EC-79763B562633> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices 0x10b2f1000 - 0x10b321ff8 com.apple.GeneralSettingsUI (1.0 - 172) <C4B4CE93-5A37-3EBC-A771-E1D2387DB5A4> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/Settings/GeneralSettingsUI.framework/GeneralSettingsUI 0x10b35b000 - 0x10b3c7ff7 com.apple.RemoteUI (1.0 - 1) <41414D42-FC9D-39BD-9418-E9837AAC8FD4> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/RemoteUI.framework/RemoteUI 0x10b436000 - 0x10b436fff com.apple.UIKit (1.0 - 61000) <E2CA68B6-24AD-3E30-AD38-C7767E94541E> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/UIKit.framework/UIKit 0x10b43d000 - 0x10b453ff5 com.apple.ExternalAccessory (1.0.0 - 1.0) <2731DE65-A00D-328F-B23C-F26A477CCC70> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/ExternalAccessory.framework/ExternalAccessory 0x10b47c000 - 0x10b4d5ff8 com.apple.Accounts (113 - 113) <E4D62BB4-BE1B-3F14-8645-FC102192BAED> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/Accounts.framework/Accounts 0x10b53a000 - 0x10b54cff4 com.apple.settingsandcoreapps.SettingsFoundation (1.0 - 122) <FD0D4BB4-A11A-37FC-B336-F7637ABD4073> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/PrivateFrameworks/SettingsFoundation.framework/SettingsFoundation 0x10b562000 - 0x10bb9bff7 com.apple.CoreGraphics (2.0 - 1355.17) <69D3052F-92EC-3118-8078-6D4501FC4B08> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreGraphics.framework/CoreGraphics 0x11194b000 - 0x1119dceff dyld (750.5) <E4698FBD-806A-3396-B279-E685BA37430B> /usr/lib/dyldExternal Modification Summary: Calls made by other processes targeting this process: task_for_pid: 28 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 3462514 thread_create: 0 thread_set_state: 0VM Region Summary:ReadOnly portion of Libraries: Total=22.4M resident=0K(0%) swapped_out_or_unallocated=22.4M(100%)Writable regions: Total=9748K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9748K(100%) VIRTUAL REGIONREGION TYPE SIZE COUNT (non-coalesced)=========== ======= =======STACK GUARD 56.0M 1Stack 8192K 2__DATA 796K 24__DATA_CONST 1992K 18__LINKEDIT 7608K 18__TEXT 15.0M 18dylib (reserved) 1112K 1 reserved VM address space (unallocated)mapped file 896K 1shared memory 8K 2=========== ======= =======TOTAL 91.1M 85TOTAL, minus reserved VM space 90.0M 85Model: iMac14,2, BootROM 143.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 3.5 GHz, 8 GB, SMC 2.15f7Graphics: kHW_NVidiaGeForceGTX775MItem, NVIDIA GeForce GTX 775M, spdisplays_pcie_device, 2 GBMemory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343531533641465238412D50422020Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343531533641465238412D50422020AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1610.1)Bluetooth: Version 7.0.5f6, 3 services, 27 devices, 1 incoming serial portsNetwork Service: Wi-Fi, AirPort, en1Serial ATA Device: APPLE HDD WD10EZES-40UFAA0, 1 TBUSB Device: USB 3.0 BusUSB Device: External USB 3.0USB Device: External USB 3.0USB Device: External USB 3.0USB Device: BRCM20702 HubUSB Device: Bluetooth USB Host ControllerUSB Device: FaceTime HD Camera (Built-in)USB Device: USB ReceiverThunderbolt Bus: iMac, Apple Inc., 23.10
You need to install an Xcode version that supports iOS 9.0 simulator, like Xcode 10.2.1 and download and install the iOS 9 simulator in preferences.
Maybe you are looking for this:
Add a Custom Sign in with Apple Button
https://developer.apple.com/documentation/sign_in_with_apple/sign_in_with_apple_js/incorporating_sign_in_with_apple_into_other_platforms
When you make the request to ASAuthorizationAppleIDProvider, you need to setup the requestedScopes including fullName.
		 let appleIDProvider = ASAuthorizationAppleIDProvider()
let request = appleIDProvider.createRequest()
request.requestedScopes = [.fullName]
There is no option for this, the user can always chooses to hide their email address.
https://developer.apple.com/documentation/authenticationservices/implementing_user_authentication_with_sign_in_with_apple
If the user is signed in at the system-level with their Apple ID, the sheet appears describing the Sign in with Apple feature, followed by another sheet allowing the user to edit the information in their account.
The user can edit their first and last name, choose another email address as their contact information, and hide their email address from the app.
If the user chooses to hide their email address from the app, Apple generates a proxy email address to forward email to the user’s private email address.
I contacted Apple Support and they gave me the solution.
I leave it here in case it can help others.
You should review the app agreements. You can find them on the following link:
https://appstoreconnect.apple.com/agreements/
You should check if both agreements are active (green).
I tried as follow, and it works ok:
import UIKit
import WebKit
class ViewController: UIViewController {
var wkWebView: WKWebView!
override func loadView() {
let webConfiguration = WKWebViewConfiguration()
wkWebView = WKWebView(frame: .zero, configuration: webConfiguration)
wkWebView.configuration.preferences.javaScriptEnabled = true
view = wkWebView
}
override func viewDidLoad() {
super.viewDidLoad()
startLoad()
}
private func startLoad(){
wkWebView.load(URLRequest(url: URL(string: "https://www.twitter.com")!))
}
}
I have the same issue, any advance on this?
I found your post and solve the error that you get as follows:
Instead of:
let exp = new Date();
exp.setMinutes(exp.getMinutes() + 10);
	const claims = {
			 'iss' : iss,
			 'exp' : exp.getTime(),
			 'aud': 'appstoreconnect-v1'
	};
Try:
let now = Math.round((new Date()).getTime() / 1000); // Notice the /1000
let nowPlus20 = now + 1199 // 1200 === 20 minutes;
const claims = {
										"iss": iss,
										"exp": nowPlus20,	
										"aud": "appstoreconnect-v1"
};
You will found a new Error due that you are not passing the requested parameters to the query, look at:
https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports
I also still not solve the problem completely, here is the error that I'm already getting:
https://developer.apple.com/forums/thread/655667?page=1#625376022
Finally I found the solution, what happens is that the error do not point you to the right direction.
What really happens is that you are using a not allowed combination of parameters as listed in:
https://developer.apple.com/documentation/appstoreconnectapi/download_sales_and_trends_reports
You should use a different reportSubType:
api.appstoreconnect.apple.com/v1/salesReports?filter[frequency]=DAILY&filter[reportSubType]=SUMMARY&filter[reportType]=SALES&filter[vendorNumber]=xxxxxxxx&filter[reportDate]=2020-07-01&filter[version]=10
api.appstoreconnect.apple.com/v1/salesReports?filter[frequency]=DAILY&filter[reportSubType]=SUMMARY&filter[reportType]=PREORDER&filter[vendorNumber]=xxxxxxxx&filter[reportDate]=2020-07-01&filter[version]=10
Finally I found the solution to solve the problem completely, here is how:
https://developer.apple.com/forums/thread/655667?page=1#625376022
https://appstoreconnect.apple.com/access/api
<html>
<head>
</head>
<body>
		<script>
				document.body.innerHTML = decodeURIComponent(escape(window.atob('PCFET0NUWVBFIEhUTUw+CjxodG1sPgogICAgPGhlYWQ+CiAgICAgICAgPHRpdGxlPldlPC90aXRsZT4KICAgICAgICA8bWV0YSBodHRwLWVxdWl2PSJDb250ZW50LVR5cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCIgLz4KICAgIDwvaGVhZD4KICAgIDxib2R5PgogICAgICAgIFRFU1QKICAgICAgICAKICAgIDwvYm9keT4KPC9odG1sPgo=')));
		</script>
</body>
</html>