2016-07-13 8 views
0

Ich verwende Xcode 8 und Ionic. Ich kann Audio auf Android, aber nicht auf iOS spielen. Das Protokoll von Xcode sagt dazu:HTMLAudioElement Audio nicht unter iOS (Ionic App)

2016-07-13 18:19:44.802014 SpotShuffle[830:104683] [] <<<<FIGSANDBOX>>>> Path </private/var/mobile/Containers/Data/Application/EC634407-1752-4EE2-814E-B88353EA36B0/tmp/MediaCache> could not be converted by realpath() (requires all elements of path are present) 

2016-07-13 18:19:44.803145 SpotShuffle[830:104683] [] __InternalSandboxRegisterURL_block_invoke signalled err=-12780 (kFigBaseObjectError_ParamErr) (Could not obtain realpath for specified URL) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMediaFramework/EmbeddedCoreMedia-1847.11.1/Prototypes/Player/ClientServer/FigSandboxSupport.c line 590 

Haben Sie einen Tipp?

+0

haben Sie das Problem gelöst? Ich stehe vor demselben Problem. –

Antwort

0

ich einen ähnlichen Fehler immer versucht, in iOS ein Video zu spielen 10 beta 2.

"kann nicht realpath für bestimmte URL erhalten"

ObtainAndRegisterSandboxExtensionForPath signalled err=-12780 (kFigBaseObjectError_ParamErr) (Could not obtain realpath for specified URL) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/EmbeddedCoreMediaFramework/EmbeddedCoreMedia-1873/Prototypes/Player/ClientServer/FigSandboxSupport.c line 486 

Meine Vermutung ist, dass irgendwo in der Datei ist eine URL, die mit "//:" anstelle von "http //:" beginnt. Webbrowser erhalten das richtige URL-Protokoll von der URL der Seite. In Ionic und Cordova ist das Seitenprotokoll "file: //", was die Realpath-Bibliothek durchbrechen könnte.