2016-07-13 5 views
0

Xcode 8とIonicを使用しています。私はAndroidで再生するためにオーディオを取得できますが、iOSでは再生できません。 Xcodeのログには、次のように書かれています。iOS(ionicアプリケーション)でHTMLAudioElementオーディオが再生されない

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 

あなたはアドバイスをお持ちですか?

+0

問題を解決しましたか?私は同じ問題に直面しています。 –

答えて

0

私はiOSの10ベータ版でビデオを再生しようとすると、同様のエラーを取得しています。2.

「指定されたURLのためのrealpathを取得できませんでした」

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 

私の推測では、ファイル内のどこかで「http //:」ではなく「//:」で始まるURLです。 Webブラウザは、ページのURLから適切なURLプロトコルを取得します。 IonicとCordovaでは、ページプロトコルは "file://"であり、これはrealpathライブラリを破壊する可能性があります。

関連する問題