Hi Everyone, I am trying to get my advanced app clip experience set up but having a world of problems. I have 2 apps, both have associated domains set up (for both app and app clip) and both have an aasa file on the website, with the json validated. Followed the instructions of the wwdc presentation to the letter. My associated domains read like this:
appclips:qktp.in
appclips:qktp.in/c
and my aasa reads like this:
{
		"appclips": {
				"apps": [ "123456789.com.mycompanyname.myapp" ]
		}
}
When I go to make the app clip experience, no matter how I type the url into the app clip experience url field, i always get:
This URL is not contained in your app’s associated domains. Update associated domains or use a different URL.
I thought I had this set up right...what am I missing?
Post
Replies
Boosts
Views
Activity
Hi everyone, I have a ios app that updates a observable object/@Published properties, and I am wondering if there is a good way to share the data that is written to the observable object to update the views on my watch app. I have the environment added in my watch app with a @EnvironmentObject var env: Environment in the swiftui ContentView, and when I run the app I get a error:
"No ObservableObject of type GlobalEnvironmentMain found. A View.environmentObject(:) for GlobalEnvironment_Main may be missing as an ancestor of this view"
Is there a trick to making this work, is there an easy way or do I have to dig into Watch Connectivity to make it work? Is there something I have to do in the HostingController class for the app to recognized the shared environment and update views accordingly on both my iphone and watch observing the same Environment Object?
When a user runs an app clip, does that app clip save to the home screen like it does on the beta/in xcode? Or can the app run and then once it is closed be closed for good?
Hi, I have tried several 3rd party networking libraries (including Firebase and AlamoFire) and none of them work with app clips. I always get a "dyld: Library not loaded: @rpath" SIGBRT error. Is there any workaround for these issues? What is going on under the hood?