Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by Jell92 · Oct 01, 2015 at 06:13 PM · unity 5iosurlxcode 5url schemes

Is app infected? Getting a lot of strange "CanOpenURL: failed" in Xcode

Hello, So this is very frustrating: When i build my app in Unity and build it for my iPhone in Xcode and runs it, I get a lot of these errors: "- error: "This app is not allowed to query for scheme" And "-canOpenURL: failed for URL:"

Below I have copied some of the many errors. My question is not so much why they come (I believe it has something to do with iOS 9 where you have to allow every the device to establish connection), but where in the world they could come from - I have no assets installed that should try to establish these connections - it almost looks like the app is infected if that is even possible.

Here are some of the errors:

2015-10-01 19:23:50.779 dogdodge[627:42730] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file. 2015-10-01 19:23:51.163 dogdodge[627:42494] Unity Ads not ready to show ads: current zone invalid 2015-10-01 19:23:51.184 dogdodge[627:42779] Requesting Unity Ads ad plan from https://impact.applifier.com/mobile/campaigns?platform=ios&gameId=1001456&sdkVersion=1502&rawAdvertisingTrackingId=B9CEFEDF-9E0A-47C9-8DBD-3B47D45E5F07&advertisingTrackingId=1207f85699ad27b97058b3f0378d8125&trackingEnabled=0&softwareVersion=9.0.2&deviceType=iPad4,4&connectionType=wifi&encrypted=false 2015-10-01 19:23:51.222 dogdodge[627:42772] -canOpenURL: failed for URL: "fb210831918949520://" - error: "This app is not allowed to query for scheme fb210831918949520" 2015-10-01 19:23:51.241 dogdodge[627:42772] -canOpenURL: failed for URL: "fb203184016378913free://" - error: "This app is not allowed to query for scheme fb203184016378913free" 2015-10-01 19:23:51.254 dogdodge[627:42772] -canOpenURL: failed for URL: "fb370030509727912://" - error: "This app is not allowed to query for scheme fb370030509727912" 2015-10-01 19:23:51.259 dogdodge[627:42772] -canOpenURL: failed for URL: "fb353472638105393://" - error: "This app is not allowed to query for scheme fb353472638105393"

These just keeps coming. Some of them looks really strange: 2015-10-01 19:23:52.258 dogdodge[627:42772] -canOpenURL: failed for URL: "celebpokerfree://" - error: "This app is not allowed to query for scheme celebpokerfree"

CelebpokerFree? I have no idea where this is coming from.

Really hope somebody can help me here. Thanks

Anders

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dave-Carlile · Oct 01, 2015 at 06:13 PM 0
Share

Are you displaying ads in your app? The urls look like they might be ad related.

avatar image Jell92 Dave-Carlile · Oct 01, 2015 at 06:25 PM 0
Share

Hey Dave, yep I am using Heyzap.

avatar image Dave-Carlile Jell92 · Oct 01, 2015 at 08:56 PM 0
Share

I would guess that's where those messages are co$$anonymous$$g from.

avatar image iwaldrop · Oct 01, 2015 at 09:07 PM 0
Share

FWIW, Apple added a thing in iOS 9 to prevent apps from checking more than 50 arbitrary url schemes. https://developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/

So this behavior is no longer allowed. You should contact the vendor to see if they are working on an update for this; or just disable that on iOS 9.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by VioletAbstract · Feb 22 at 01:09 AM

For anyone stumbling across this page in the future, iOS does not allow custom URL schemes by default for security reasons, but Unity has an option in Player Settings for iOS, called Supported URL schemes. You can add custom schemes here and that will solve the error "This app is not allowed to query for scheme ...", hope this helps.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

37 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5.2 ios IL2CPP build gives null reference exception 0 Answers

Open Link in New Tab - WebGL 2 Answers

How Do I Ensure that --enable-unity-event-support is Set for iOS Builds? 0 Answers

Memory intensive native plugin seeing ~6x slowdown 0 Answers

Monetization breaks iOS build in XCode. Also breaks Android build. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges