Post

Replies

Boosts

Views

Activity

Big Sur install failed, here is the log
I'm getting the following error: An error occurred installing macOS. You can try again to complete the installation. I'm running Catalina 10.15.6 (19G73) I tried multiple times but it always fails, here is the log: 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant_springboard[3829]: Springboarding to: /Applications/Install macOS Big Sur Beta.app/Contents/MacOS/InstallAssistant 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant_springboard[3829]: argv[0]: InstallAssistant 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: InstallAssistant build: 532 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: No compatibility bundle on this version of macOS. Will assume compatible. 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Hardware: MacBookPro16,1 @ 2.30 GHz (x 16), 65536 MB RAM 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Running OS Build: Mac OS X 10.15.6 (19G73) 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: USER=arturo 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: LOGNAME=arturo 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/libexec 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.AkyjOmNzo6/Listeners 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: HOME=/Users/arturo 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: SHELL=/bin/zsh 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: TMPDIR=/private/tmp/PKInstallSandbox.nSLxCy/tmp 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: XPC_SERVICE_NAME=com.apple.InstallAssistant.Seed.macOS1016Seed1.295184 2020-08-10 19:02:43-04 MacBook-Pro InstallAssistant[3829]: Env: XPC_FLAGS=0x0 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: Seeding: ExtendedAttribute was not set on /Applications/Install macOS Big Sur Beta.app 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: seedingInfoDict -> 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: result : Fail 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: seedProgramSource : Default 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: seedProgram : PublicSeed 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: catalogURLString : https://swscan.apple.com/content/catalogs/others/index-10.16beta-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: fileName : /Applications/Install macOS Big Sur Beta.app 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: error : No xattr was set 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: OSISSoftwareUpdateController: No xattr was set on file /Applications/Install macOS Big Sur Beta.app. Falling to default Seed. 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: OSISSoftwareUpdateController: Using catalog (source: Default): https://swscan.apple.com/content/catalogs/others/index-10.16beta-10.16-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: mountDiskImageWithPath: /Applications/Install macOS Big Sur Beta.app/Contents/SharedSupport/SharedSupport.dmg 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: Extracting brain /Volumes/Shared Support/UpdateBrain.zip -> /var/folders/jt/hkl_3skn4y3c1hwsfn3b1wmw0000gn/T/UpdateBrain 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: Extracting /Volumes/Shared Support/UpdateBrain.zip -> /var/folders/jt/hkl_3skn4y3c1hwsfn3b1wmw0000gn/T/UpdateBrain 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: Finished extracting: succeeded 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: Skipping starting the brain because we're not on a new enough macOS. 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: Adding MobileSoftwareUpdate product: OSISMobileSoftwareUpdateProduct <brain: /Volumes/Shared Support/UpdateBrain.zip, bundle: /Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/878ad7930fa12653a9b85de02c61ab40fcd367c6.zip, SFR: /Volumes/Shared Support/SFR/com_apple_MobileAsset_SFRSoftwareUpdate/8c282b9482994406fd8cbd420ff08e26f8515203.zip> 2020-08-10 19:02:43-04 MacBook-Pro osinstallersetupd[3830]: Will extract Info.plist from: /Volumes/Shared Support/com_apple_MobileAsset_MacSoftwareUpdate/878ad7930fa12653a9b85de02c61ab40fcd367c6.zip toPath: /var/folders/jt/hkl_3skn4y3c1hwsfn3b1wmw0000gn/T/64BA77B3-F27C-481F-A958-3C5E7A4C7A48 What's the fix there?
0
0
2.1k
Aug ’20
Include In-App stuck in "Waiting for Upload"
When I submitted they said this: _Guideline 2.1 - Performance - App Completeness In addition, we are unable to complete the review of your app because one or more of your in-app purchase products have not been submitted for review. Next Steps To resolve this issue, please be sure to take action and submit your in-app purchases and upload a new binary in App Store Connect. Learn more about how to offer in-app purchases - https://help.apple.com/app-store-connect/#/devb57be10e7 in App Store Connect Developer Help. Once you've submitted your in-app purchases and uploaded a new binary, we can proceed with your review. However that's the guide I followed, it doesn't say anything. Right now I'm connecting to my product and validating the purchase fine, but how do I change that waiting for upload?
2
0
2k
Jul ’20
Include In-App Purchases sample code into existing project
I'm very confused regarding how to handle the sample project. I have my app project right? So I open it. I download the sample - https://developer.apple.com/documentation/storekit/in-app_purchase/offering_completing_and_restoring_in-app_purchases project and open it on another window. How do I integrate the iOS payment target functionality to my existing app? What do I have to copy to my app and how? The most useful information the documentation says is this: 5. For iOS and tvOS devices, build and run the InAppPurchases and InAppPurchasestvOS targets, respectively, which the sample uses to build InAppPurchases. which doesn't help at all. Ok so on the new Window I opened with the sample project I put my bundle id and product id and it works... now how do I copy that target or whatever it's linking the purchase to my app?
2
0
1.8k
Jun ’20
Create shared instance of observer
I'm trying to follow the guide to setup apple pay in-app purchases and it says here - https://developer.apple.com/documentation/storekit/in-app_purchase/setting_up_the_transaction_observer_for_the_payment_queue: Consider creating your observer as a shared instance of the class for global reference in any other class. If I have: class StoreObserver: NSObject, SKPaymentTransactionObserver { 								.... 		//Initialize the store observer. 		override init() { 				super.init() 				//Other initialization here. 		} 		//Observe transaction updates. 		func paymentQueue(_ queue: SKPaymentQueue,updatedTransactions transactions: [SKPaymentTransaction]) { 				//Handle transaction states here. 		} 								.... } and I call it with: let iapObserver = StoreObserver() how do I create such shared instance?
1
0
993
Jun ’20
Apple Pay amount charged
On the docs it says this: let fare = PKPaymentSummaryItem(label: "Minimum Fare", amount: NSDecimalNumber(string: "9.99"), type: .final) 				let tax = PKPaymentSummaryItem(label: "Tax", amount: NSDecimalNumber(string: "1.00"), type: .final) 				let total = PKPaymentSummaryItem(label: "Total", amount: NSDecimalNumber(string: "10.99"), type: .pending) I'd like to understand it, this are my guesses, please correct me if I'm wrong and clarify the ones I don't know: Minimum Fare = what I'm charging for the app Tax = ?? I how do I know this? Total = ?? based on tax so ??
2
0
581
Jun ’20
Where is the Apple Developer Program License Agreement
This might sound ridiculous, but even more ridiculous is who ever thought of not putting a link to it... where can I find the Apple Developer Program License Agreement so I can accept it? I'm getting the following message: The updated Apple Developer Program License Agreement needs to be reviewed. In order to update your existing apps and submit new apps to the App Store, the Account Holder must review and accept the updated agreement. I go to the agreement section https://appstoreconnect.apple.com/agreements/ I it doesn't show anything...
6
0
1.3k
Jun ’20
Reset day not working after quitting the app
Hi, currently the app works the following way (regarding this): I open the app, it checks if it's the same day. I put it in background, it stores the last day If when it comes back from background, it checks that it's a new day, then it resets the array of elements to it's initial state. Right now the above is working, the problem is when I close the app and I start it again, it's like if it looses track of everything. When I open it after being closed, it doesn't reset anything, what's going on? 		// --------- This sets the auto time Meal reset 		@State var lastDay: Date = Date() 		@State var isToday = false 		// 		let getThemeConstants = GetThemeConstants() 		var body: some View { 				VStack { 						if viewRouter.currentPage == "onboardingView" { 								OnboardingView() 						} else if viewRouter.currentPage == "homeView" { 								TabView { 										HomeView(mealsController: self.mealsController) 												.tabItem { 														Image(systemName: "house") 														Text("Menu") 										} 										SettingsView(mealsController: self.mealsController) 												.tabItem { 														Image(systemName: "slider.horizontal.3") 														Text("Settings") 										} 								} 								.accentColor(Color(getThemeConstants.accentThemeColor)) 								.onReceive(NotificationCenter.default.publisher(for: UIApplication.willResignActiveNotification)) { _ in 										// store the date whenever you go into background 										print("Stored last day") 										UserDefaults.standard.set(Date(), forKey: "lastDay") 								} 						} 				} 						// Try to retrieve the date when you come back from background 						.onReceive(NotificationCenter.default.publisher(for: UIApplication.willEnterForegroundNotification)) { _ in 								// Check if the same is the same 								if let temDate = UserDefaults.standard.object(forKey: "lastDay") { 										self.lastDay = temDate as! Date 										// If same day 										if Calendar.current.isDate(Date(), inSameDayAs: self.lastDay) { 												self.isToday = true 												print("Same day = true") 										} else { 												// If new day, set day as needs to be reset 												print("Day needs to be reset set to true") 												self.settingsUserDefaults.dayNeedsToBeReset = true 										} 								} 								// If new day and day needs to be reset 								if(self.settingsUserDefaults.dayNeedsToBeReset == true) { 										if let thisHour = Calendar.current.dateComponents([.hour], from: Date()).hour { 												print("Inside new day") 												// If it is 6 am or later do something 												if (thisHour >= self.settingsUserDefaults.dayStartTime) { 														print("----> It is 8am or later --> Reset Meal Times") 														self.resetDayViewModel.resetDay(mealsController: self.mealsController) 														self.settingsUserDefaults.dayNeedsToBeReset = false 												} else { 														print("Still is not time to change") 												} 										} 								} 				} 		} }
2
0
889
Jun ’20
navigationBarTitle doesn't hide when scrolling up
If I add the background color Color.red.edgesIgnoringSafeArea(.all) when I scroll up on the texts, the navigationBarTitle doesn't display inline as it should, how can i fix it?struct ContentView : View { var body: some View { NavigationView { ZStack { Color.red.edgesIgnoringSafeArea(.all) ScrollView { Group { Text("Example") .padding(.bottom, 30) Text("Example") } } .navigationBarTitle("title") } } } }I also tried this:NavigationView { GeometryReader { gp in Color.purple.edgesIgnoringSafeArea(.all) ScrollView { ZStack(alignment: .top) { VStack { VStack { Text("wef") } Spacer() } }.frame(minHeight: gp.size.height) } .navigationBarTitle("Gallery") } }but the text goes all the way to the left top, when it should be centered
0
0
368
Jun ’20
Company name
Hi, I currently don't have a company created and I'd like to have one with its name and everything. How is the process to do so? Do I have to pay somewhere to have it registered? Do I need to have it registered? For example under my app name on the appstore the company that shown is my name, so I'd like to modify that. How is the legal process for this and also how can I ensure that no one later takes that name and uses it, so I can claim it mine.Thank you
1
0
1.1k
Jun ’20
Back button disappears on NavigationLink SwiftUI
I'm combining a navigation view and a sheet the following way:struct ContentView: View { @State var showingDetail = false var body: some View { NavigationView { VStack { NavigationLink(destination: DetailView()) { Text("Go to view 2") } VStack { Button(action: { self.showingDetail.toggle() }) { Text("Show Detail") }.sheet(isPresented: $showingDetail) { SheetView() } } } .navigationBarTitle("Back") .navigationBarHidden(true) } } } struct SheetView: View { var body: some View { Text("Detail") } }The sheet works fine, but the new DetailView when you open it, the Back button seems to be there and then after 1 sec it disappears. How can I fix this?
0
0
982
May ’20
Example using Core Data between views
I'm very frustrated with Core Data, the information varies so much and they are trying to adapt it to SwiftUI that everything is a mess on the documentation side. I created an app and the UI doesn't know when core data has a change also when I switch screens... the question is, how can I make sure that my app is aware of core data changes. Is there a simple CRUD app that I can see with the latest practices such as observable object and MVVM ? I bought a Udemy course and has data from the beta, on youtube there is nothing useful, everyone has something different with old data.So how can I see a simple example to disect where they implement:- observable object- MVVM- passsing data back and forth between different screens such as 2 TabViewsThank you
5
0
920
May ’20