Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 如何在空投上显示myapp?我的Plist文件有什么问题?_Ios_Cordova_Ionic Framework_Ionic - Fatal编程技术网

Ios 如何在空投上显示myapp?我的Plist文件有什么问题?

Ios 如何在空投上显示myapp?我的Plist文件有什么问题?,ios,cordova,ionic-framework,ionic,Ios,Cordova,Ionic Framework,Ionic,我正在尝试在空投上列出我的应用程序。就像你在照片库里一样,点击分享。Airdrop将在我想显示我的应用程序的地方打开。。目前我的应用程序未在空投上显示。我正在尝试允许所有类型的文件 这是info.plist文件 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0

我正在尝试在空投上列出我的应用程序。就像你在照片库里一样,点击分享。Airdrop将在我想显示我的应用程序的地方打开。。目前我的应用程序未在空投上显示。我正在尝试允许所有类型的文件

这是info.plist文件

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CFBundleDevelopmentRegion</key>
    <string>en</string>
    <key>CFBundleExecutable</key>
    <string>$(EXECUTABLE_NAME)</string>
    <key>CFBundleIdentifier</key>
    <string>org.apache.cordova.$(PRODUCT_NAME:rfc1034identifier)</string>
        <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundleName</key>
    <string>$(PRODUCT_NAME)</string>
    <key>CFBundlePackageType</key>
    <string>XPC!</string>
    <key>CFBundleShortVersionString</key>
    <string>1.0</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1</string>
     <key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeName</key>
        <string>Unknown File</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.calendar-event</string>
            <string>public.database</string>
            <string>public.executable</string>
            <string>public.data</string>
            <string>public.content </string>
            <string>public.item</string>
        </array>
    </dict>
    <dict>
        <key>CFBundleTypeName</key>
        <string>Video</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.video</string>
        </array>
    </dict>
    <dict>
        <key>CFBundleTypeName</key>
        <string>Image</string>
        <key>LSHandlerRank</key>
        <string>Alternate</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>public.image</string>
        </array>
    </dict>
    <dict>  
</dict>
</plist>

CfBundledDevelopmentRegion
EN
Cbundlexecutable
$(可执行文件名称)
CbundleIdentifier
org.apache.cordova.$(产品名称:rfc1034identifier)
CbundleInfo字典版本
6
CFBundleName
$(产品名称)
CbundlePackageType
XPC!
CbundleShortVersionString
1
CFBundleSignature
????
循环流化床锅炉
1.
CbundleDocumentTypes
CbundleTypeName
未知文件
伊斯汉德兰克
候补
lsItemContentType
公共活动
公共数据库
public.exe
公共数据
公共内容
公共物品
CbundleTypeName
视频
伊斯汉德兰克
候补
lsItemContentType
公共视频
CbundleTypeName
形象
伊斯汉德兰克
候补
lsItemContentType
公众形象

你想要实现的目标与空投无关。AirDrop是一种通过蓝牙或Wifi在设备之间共享文件的功能

在您的情况下,您希望注册应用程序以打开某种文件。
你应该从下面看一看

对于plist文件,我认为您忘记声明需要使用的图标文件。
上一链接中的示例:

<key>CFBundleDocumentTypes</key>
<array>
    <dict>
        <key>CFBundleTypeIconFiles</key>
        <array>
            <string>Document-molecules-320.png</string>
            <string>Document-molecules-64.png</string>
        </array>
        <key>CFBundleTypeName</key>
        <string>Molecules Structure File</string>
        <key>CFBundleTypeRole</key>
        <string>Viewer</string>
        <key>LSHandlerRank</key>
        <string>Owner</string>
        <key>LSItemContentTypes</key>
        <array>
            <string>com.sunsetlakesoftware.molecules.pdb</string>
            <string>org.gnu.gnu-zip-archive</string>
        </array>
    </dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
    <dict>
        <key>UTTypeConformsTo</key>
        <array>
            <string>public.plain-text</string>
            <string>public.text</string>
        </array>
        <key>UTTypeDescription</key>
        <string>Molecules Structure File</string>
        <key>UTTypeIdentifier</key>
        <string>com.sunsetlakesoftware.molecules.pdb</string>
        <key>UTTypeTagSpecification</key>
        <dict>
            <key>public.filename-extension</key>
            <string>pdb</string>
            <key>public.mime-type</key>
            <string>chemical/x-pdb</string>
        </dict>
    </dict>
</array>
CbundleDocumentTypes
CbundleTypeConfigiles
Document-policles-320.png
Document-policles-64.png
CbundleTypeName
分子结构文件
CbundleTypeRole
观众
伊斯汉德兰克
所有者
lsItemContentType
com.sunsetlakesoftware.molecules.pdb
org.gnu.gnu-zip-archive
UTExportedTypeDeclarations
Uttypecommisto
公共文本
public.text
UTTypeDescription
分子结构文件
UTTypeIdentifier
com.sunsetlakesoftware.molecules.pdb
Uttypetag规范
public.filename-extension
pdb
public.mime-type
化学/x-pdb

现在我收到错误ITMS-90362-共享扩展