Weird Shortcuts problem on iOS 15 and WatchOS 8 - automation

I have an app which allow users to create shortcuts for it. It worked well on my iPhone and my Apple Watch until I upgrading my devices to iOS 15 and WatchOS 8.0
It keep asking me "Allow *** to share data with (null)" every time even after I said "allow"
I googled but only found one post who had the similar problem
https://forums.macrumors.com/threads/shortcuts-to-web-open-in-chrome-bug.2312693/
did my own tests and created a new Twitter “What is happening” shortcut on my iPhone, it always ask me “All See what’s happening” to share data with (null)” just like what happened to our watch app on an Apple watch (WatchOS 8 )
I used the same Twitter shortcut too on my Apple Watch and first time it asked the same question then it shows “Can’t send data to (null)” for the second time.
I guess it is a new system bug but I am not sure.
Does anybody have a clue about how to solve it? Thank you!

I know how to fix this! If you go to your shortcuts and change the browser in the action to safari it will stop displaying the prompt. The browser that opens will still be chrome as long as you have it set as your default browser.

This is an iOS bug which seems to be fixed in the latest iOS 15.1 beta 3 release.
You can either install the beta — if you have access to it — or wait for the final release of iOS 15.1.

In settings > Privacy > HomeKit I disabled the toggles for the apps eWeLink, Mi Home, Smart Life and Tuya Smart (The shortcuts of the apps which showed this popup in my apple watch)
After that this popup appeared only once and after clicked allow, This annoying pop up stopped appearing for my shortcuts in apple watch.
Update:
You can enable the toggles in settings > Privacy > HomeKit after allowing the first allow prompt for shortcuts in Apple watch. After enabling HomeKit toggles again Apple watch shows this "Allow to share data with (null)" only once for shortcuts.

Related

SoundJS not starting in iOS

I am getting nuts a little bit.
I am working on SoundJS app for an alarm. The user will share a link and when somebody click on it, after the user defined time the alarm will sound.
I have this link:
http://online-timer.en.downloadastro.com/tools/?PageSpeed=off#5000
I am using SoundJS 0.6.2 (which should be the latest)
But the alarm not working in iOS, it works perfectly in Android and PC. Works ok on my MacBook. but not on the iPhone.
Please advice
Well on GitHub and in Slack an answere was given.
This is an iOS limitation, and some of the Android have it too.
This issue is because I must "unlock" the web audio context on iOS using a mousedown/touchend event. In SoundJS 0.6.2, any document-level click/touchend will do it (so there is nothing extra that is need to be done). Earlier versions required to do some additional manual steps (which can still be seen in the MobileSafe demo in GitHub, which is not necessary any more).

Keyboard Extension Not Working with iOS 8.1 Simulator

I just updated to Xcode 6.1 and my keyboard extension app, which was working fine with 6.0.x, is now not selectable via the nextinputmode button. This works fine on the actual device but not on the simulator. I can add the keyboard in settings with no trouble. Anyone else have this problem.
Update: This has been fixed in iOS 8.2 beta 2, according to release notes.
From iOS 8.1 beta release notes:
Known Issue 3rd party keyboards may not appear in Safari, Maps or 3rd
party apps on the Simulator.
Workaround: Keyboards should be testable in Calendar, Spotlight,
Contacts, and Photos.
This is what you are seeing.
I guess they were so busy fixing other bugs in the developer tools, they just didn't have time to fix ridiculous new bugs they introduced in 8.1.
Open a bug report, and maybe it will be fixed in 8.2.

AIR 15 on iOS 8 - Unwanted Push Notification anyway

Since the upgrade of my devices for iOS 8, I keep having a Window Alert for Push Notification even on applications which haven't such notification : "MyApp Would Like to Send You Notifications"
After research, I've seen that it may be caused by an old AIR version.
Problem is that I'm already testing in the last AIR SDK version ( 15.0.0.249 ) and the push notification keep appear.
Otherwise, the real problem seems to be that in my others applications which allready have the push, it seems to make conflict when you refuse the push at the first opening. It cause freezing the application and force to kill it.
Does anyone have a clue ?
Thanks a lot,
Update to the AIR 15 beta. This bug was fixed a week or two ago (though I can't find the release notes saying it was). The betas are stable in my testing and fix a lot of iOS 8-related issues.
http://labs.adobe.com/downloads/air.html

xcode timed out waiting for app to launch

Application get fail to launch in device having iOS 6.0 from xcode 4.5. Xcode says Application can't be launched timed out waiting for app to launch. I reset my all device settings. Cross checked if i choosed right provisioning. Yes, its right. here i am attaching image of console. Please help me out.
None of the above tips helped me. It turned out I was using my Distribution Profile instead of the Developer Profile in Debug mode. You can check the Profile you are using by going to
Build Settings->Code Signing Entity.
Make sure you are using your Developer Profile in Beta and Debug mode.
I had a similar issue when trying to debug an App with Ad-Hoc provisioning... Check which provisioning you're using, it seems ad-hoc provisioning cannot be used for debbuging.
Whenever this happens to me, I have done the following to fix the problem:
Stop the app from running in Xcode.
Delete the app from the device (or Simulator).
Select Product > Clean from the Xcode menu.
Close Xcode.
Close the Simulator (or restart the device).
Restart your computer (yes I know this like a Windows solution but seriously).
Try again.

Where can I find an iPhone simulator for Xcode 3.1.4

My kids want to learn to write apps on their MacBook which currently runs OS version 10.5.8.
I have downloaded Xcode 3.1.4 but it doesn't seem to have the iPhone Simulator.
Does anyone know where I can find this?
(And are their better tags I should use for this question?)
Thanks.
(UPDATE: I down loaded the " xcode 3.2.6 & ios sdk 4.3" dmg file from Apple in the hopes of accessing just the "iPhone simulator" but repeated attempts to open the .dmg file on my OS10.5.8 Macbook result in a complete, "blackscreen" crash.)
I am really very sorry because this is not straight to your question. But if I were you, I'd like to encourage them to start with Android. To me, an open-platform is more preferred. Beside that, Java is a strong/ dynamic language when comparing to C/C++.
Android developer site
Eclipse IDE
Android SDK
ADT plugin for Eclipse
API guides
Training videos
Hope they will like :-)
Are you sure the simulator was not included? One thing to remember is it won't be shown with xcode in your applications folder.
To use the simulator you have to launch it from xcode by pressing the play button in the top left corner of the interface. If you have already used xcode with an iPhone/iPod/iPad make sure you select simulator from the drop down next the play and stop buttons(press and hold to change what is selected).
If you want to make sure you can access the simulator without xcode, launch the simulator as described above and then right click(or ctrl click) the icon for the simulator and select keep in dock from the options menu.
Hopefully the above helps you with your problem. If xcode truly did not come with the simulator your best option is to uninstall xcode(after backing up any projects) and trying a fresh install. Also try checking Apples dev center (https://developer.apple.com/devcenter/ios/index.action) for information about xcode and the simulator.