hgl
hgl
  • 发布:2018-12-20 10:44
  • 更新:2018-12-24 09:58
  • 阅读:5751

ios离线SDK 20181212 如何添加uniapp支持库?

分类:uni-app

Feature-iOS.xls里没有写要添加uniapp支持应该添加什么库。不过没猜错的话应该是添加WeexPluginLoader.framework?

我在添加之后遇到编译错误:

Undefined symbols for architecture x86_64:  
  "_OBJC_CLASS_$_WXSDKEngine", referenced from:  
      objc-class-ref in WeexPluginLoader(WPLRegister.o)  
ld: symbol(s) not found for architecture x86_64  
clang: error: linker command failed with exit code 1 (use -v to see invocation)

好像WeexPluginLoader.framework还依赖了什么库?不知道应该添加哪个。

官方有没有提供离线SDK添加uniapp支持的文档?

2018-12-20 10:44 负责人:无 分享
已邀请:
hgl

hgl (作者)

不添加WeexPluginLoader.framework,uniapp的本地打包文件显示为空白页(manifest.json id已改)

hgl

hgl (作者)

添加了liblibWeex.a和storage.framework,能通过编译了,但是uniapp还是显示为空白页,请问可能是什么原因?

CLP

CLP

WeexPluginLoader.framework 是自动注册weex插件用的。

hgl

hgl (作者)

所以不需要是吗?我现在使用uniapp的id以后,可以显示tabbar了,但是里面的页面不显示,请问是什么原因呢?没有改过页面代码,用的官方的uniapp范例。

  • CLP

    入口配置可能有问题

    2018-12-20 18:34

  • hgl (作者)

    没有改过官方的代码。而且空白页显示的内容是__uniappservice.html页

    2018-12-20 18:45

  • CLP

    回复 hgl: 把这个文件加到工程里 native-bundle-main.js

    2018-12-21 13:13

hgl

hgl (作者)

@DCloud_IOS_CLP native-bundle-main.js 加过了。不过是在根目录。是目录位置不对吗?

我把官方SDK里的native-bundle-main.js从xcode里删除,页面还是可以正常载入。

  • CLP

    位置随便,现在是可以了是吗

    2018-12-21 17:14

  • hgl (作者)

    回复 CLP:没有成功。我是说我如果直接把官方的ios离线SDK包里的native-bundle-main.js删掉,官方包还是能正常运行uniapp (说明native-bundle-main.js和页面白色没关系?)。但是我自己在xcode里面新建一个项目,然后只加入我需要的包。就只会显示tabbar,上面空白页面显示__uniappservice.html

    2018-12-21 17:19

  • CLP

    现在是官方的示例没有问题对吧, 那可能是你page.json文件没配置好吧

    2018-12-21 17:35

  • hgl (作者)

    @919009 但是我已经说了好几次了T T,用hbuilder生成的uniapp本地打包文件我没有动过。所以在官方的www文件夹和我自己项目的www文件夹,运行的是完全一样的代码。

    2018-12-21 17:51

  • CLP

    www前一个目录名称和.xml 文件里 id 和manifest.json里的appid是一样的吗?

    2018-12-21 19:20

  • hgl (作者)

    @919009 一样的,不然tabbar不会显示,整个页面都是白的。现在是tabbar显示,但是上面的页面是白的。

    2018-12-21 19:31

  • CLP

    正常这种情况,是weexjs没有渲染出来,但是你又说,native-bundle-main.js这个文件你加上了也是不行,这就奇怪了。你看看用BuilderX,直接运行在手机上界面能出来吗? 或者有js报错吗?

    2018-12-21 20:10

hgl

hgl (作者)

@DCloud_IOS_CLP 谢谢持续的帮助。

直接运行在手机上和虚拟机是同一个情况,只有tabbar,没有页面。

这个是完整的xcode在真机上运行的log,没有看到js错误信息。

你确定native-bundle-main.js和weexjs渲染有关吗?把官方离线SDK里的native-bundle-main.js删掉,uniapp还是可以正常显示的。

2018-12-24 09:53:46.423021 0800 YiYun[31491:7687437] DiskCookieStorage changing policy from 2 to 0, cookie file: file:///private/var/mobile/Containers/Data/Application/CCB83D1F-9B25-46FB-A3EC-5AB8DA631039/Library/Cookies/Cookies.binarycookies  
2018-12-24 09:53:47.065176 0800 YiYun[31491:7687437] ######===>>>>New Device Model:[iPhone10,3]  
2018-12-24 09:53:47.078603 0800 YiYun[31491:7687437] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28128bd20, domain=1, instance=1>  
2018-12-24 09:53:47.087933 0800 YiYun[31491:7687437] [Runtime][DEBUG:] ##CoreApp##...app start load..  
2018-12-24 09:53:47.091037 0800 YiYun[31491:7687437] -canOpenURL: failed for URL: "hbuilder://" - error: "This app is not allowed to query for scheme hbuilder"  
2018-12-24 09:53:47.091216 0800 YiYun[31491:7687437] [Runtime][DEBUG:] ##CoreApp##...createAppRuntime..  
2018-12-24 09:53:47.102439 0800 YiYun[31491:7687494]  | JIGUANG | I - [JIGUANGService]   
--------------------------- JPush Log ----------------------------  
--------------------JPush SDK Version:3.1.2--build:71----------  
--------------------JCore Lib Version:1.2.6--build:68----------  
-----------------AppKey:xxxx----------------  
----------------------------------------------------------------  
2018-12-24 09:53:47.102614 0800 YiYun[31491:7687494]  | JIGUANG | I - [JIGUANGClientController] Action - jpush setup  
2018-12-24 09:53:47.102681 0800 YiYun[31491:7687494]  | JIGUANG | I - [JIGUANGClientController] Action - setup  
2018-12-24 09:53:47.106143 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGUserDefaultsController] read from old keychain data  
2018-12-24 09:53:47.107661 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGUserDefaultsController] no old content, set new appKey  
2018-12-24 09:53:47.115034 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGPageFlow] trySetupSession  
2018-12-24 09:53:47.115108 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGPageFlow] setupSession  
2018-12-24 09:53:47.145824 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812a1400, domain=1, instance=1>  
2018-12-24 09:53:47.147037 0800 YiYun[31491:7687437] [Runtime][DEBUG:] core started  
2018-12-24 09:53:47.148334 0800 YiYun[31491:7687508] [Runtime][INFO:] Started HTTP server on ip local. port 13131  
2018-12-24 09:53:47.150393 0800 YiYun[31491:7687437] [Runtime][DEBUG:] ##CoreApp##...createAppWindow..  
2018-12-24 09:53:47.150602 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28128b140, domain=1, instance=1>  
2018-12-24 09:53:47.150801 0800 YiYun[31491:7687437] [Runtime][DEBUG:] ##CoreApp##...创建首页..  
2018-12-24 09:53:47.154017 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812a6cc0, domain=1, instance=1>  
2018-12-24 09:53:47.154430 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGUtilities] WWAN 信息:{  
    generation = wifi;  
    itime = 1545616427;  
    "mobile_country_code" = 460;  
    "mobile_network_code" = 01;  
    "radio_type" = lte;  
}  
2018-12-24 09:53:47.157202 0800 YiYun[31491:7687437] [Runtime][DEBUG:] show NWindow--[__UNI__58047F5]  
2018-12-24 09:53:47.158378 0800 YiYun[31491:7687437] [Runtime][INFO:] Archiver file fullPath /var/mobile/Containers/Data/Application/CCB83D1F-9B25-46FB-A3EC-5AB8DA631039/Library/Pandora/apps/__UNI__58047F5/data/download.plist  
2018-12-24 09:53:47.158484 0800 YiYun[31491:7687437] [Runtime][INFO:] Archiver file fullPath /var/mobile/Containers/Data/Application/CCB83D1F-9B25-46FB-A3EC-5AB8DA631039/Library/Pandora/apps/__UNI__58047F5/data/upload.plist  
2018-12-24 09:53:47.163317 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGNetworkController] Action - trySetupSession  
2018-12-24 09:53:47.163628 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGHttpSessionController] Action - setupSession  
2018-12-24 09:53:47.163670 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGNetworkController] userDefaut verified: 1  
2018-12-24 09:53:47.163698 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPFNetworkIsConnectingNotification (null)  
2018-12-24 09:53:47.163726 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGSessionController] Action - connect  
2018-12-24 09:53:47.163755 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGSessionController] Action - isSisOnProtect  
2018-12-24 09:53:47.163968 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGSessionController] sis is not on protect  
2018-12-24 09:53:47.164056 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGSessionController] Action - reset sis cache  
2018-12-24 09:53:47.164092 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGAddressController] 开始Sis解析  
2018-12-24 09:53:47.164227 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGAddressController] Action - sendSisRequest  
2018-12-24 09:53:47.193562 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGAddressController] get address :124.202.138.32 from host : s.jpush.cn  
2018-12-24 09:53:47.193714 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sendSisRequest:toDefaultPort:toCustomPort  
2018-12-24 09:53:47.194028 0800 YiYun[31491:7687497]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:  
2018-12-24 09:53:47.410632 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812fc140, domain=1, instance=1>  
2018-12-24 09:53:47.411578 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data  
2018-12-24 09:53:47.412464 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGUdpSocket] send udp data succeed  
2018-12-24 09:53:47.412596 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGUdpSocket] udp socket begin send behavior  
2018-12-24 09:53:47.451386 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse  
2018-12-24 09:53:47.463362 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parse ips address  
2018-12-24 09:53:47.471352 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - parseOptionAddress  
2018-12-24 09:53:47.486298 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGUdpSocket] close udp socket,info:  
2018-12-24 09:53:47.486730 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGSessionController] current network, ipv4  
2018-12-24 09:53:47.486789 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcp  
2018-12-24 09:53:47.486876 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGSessionController] Action - connectTcpAddress:  
2018-12-24 09:53:47.486934 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGSessionController] connectTcp:43.247.88.84:7006  
2018-12-24 09:53:47.487069 0800 YiYun[31491:7687512]  | JIGUANG | I - [JIGUANGSessionController] connecting with coreAddr 43.247.88.84,port 7006  
2018-12-24 09:53:47.502797 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGTcpSocket] 连接主机成功  
2018-12-24 09:53:47.502861 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGTcpAddressSis] Action - sisReport:port  
2018-12-24 09:53:47.503010 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidSetupNotification (null)  
2018-12-24 09:53:47.512673 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest  
2018-12-24 09:53:47.512715 0800 YiYun[31491:7687501]  | JIGUANG | I - [JIGUANGRegistration]   
----- register info -----  
Appkey: 47cf5d03af93908e87ca3962  
token:(null)    
 advertisingIdentifier:  
2018-12-24 09:53:47.512755 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGRegistration] Register info - strKey:iPhone04000f0c0806060001$$ $$com.wingoht.yiyun$$47cf5d03af93908e87ca3962 clientInfo:12.1$$iPhone10,3$$ $$ $$any channel$$3.1.2| | |1.2.6| | , deviceToken:(null), aps-Environment:1, configApsEnvironment:1 advertisingIdentifier:  
2018-12-24 09:53:47.644726 0800 YiYun[31491:7687501]  | JIGUANG | I - [JIGUANGRegistration]   
----- register result -----  
uid: 16464718094  
registrationID:1a1018970a89cf473b3  
2018-12-24 09:53:47.644919 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command  
2018-12-24 09:53:47.645052 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:  
2018-12-24 09:53:47.645169 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGSessionController] Action - onRegisterRespond:  
2018-12-24 09:53:47.645280 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidRegisterNotification {  
    RegistrationID = 1a1018970a89cf473b3;  
    StatusCode = 0;  
}  
2018-12-24 09:53:47.659469 0800 YiYun[31491:7687512]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest  
2018-12-24 09:53:47.675436 0800 YiYun[31491:7687513]  | JIGUANG | I - [JIGUANGLogin]   
----- login result -----  
uid:16464718094   
registrationID:1a1018970a89cf473b3   
idc:1  
2018-12-24 09:53:47.675502 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command  
2018-12-24 09:53:47.675532 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:  
2018-12-24 09:53:47.675596 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGSessionController] Event - onLoginRespond  
2018-12-24 09:53:47.682818 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812f8fe0, domain=1, instance=1>  
2018-12-24 09:53:47.685917 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812f9060, domain=1, instance=1>  
2018-12-24 09:53:47.689030 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812f9100, domain=1, instance=1>  
2018-12-24 09:53:47.689302 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGUtilities] WWAN 信息:{  
    generation = wifi;  
    itime = 1545616427;  
    "mobile_country_code" = 460;  
    "mobile_network_code" = 01;  
    "radio_type" = lte;  
}  
2018-12-24 09:53:47.690038 0800 YiYun[31491:7687495]  | JIGUANG | D - [JIGUANGUtilities] JCOREPostNotificationWithUserInfo name: kJPUSHNetworkDidLoginNotification (null)  
2018-12-24 09:53:47.696480 0800 YiYun[31491:7687507] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x2812f8be0, domain=1, instance=1>  
2018-12-24 09:53:47.755174 0800 YiYun[31491:7687437] [Common] _BSMachError: port ad03; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"  
2018-12-24 09:53:47.756070 0800 YiYun[31491:7687437] [Common] _BSMachError: port ad03; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"  
2018-12-24 09:53:47.839900 0800 YiYun[31491:7687508] [Runtime][INFO:] Bonjour Service Published: domain(local.) type(_http._tcp.) name(abc)  
2018-12-24 09:53:47.956507 0800 YiYun[31491:7687437] [Runtime][DEBUG:] main page loader end  
2018-12-24 09:53:47.956597 0800 YiYun[31491:7687437] [Runtime][DEBUG:] core handle startparam end  
2018-12-24 09:53:48.228765 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGReport] send report:(  
        {  
        itime = 1545616427;  
        level = 95;  
        status = 2;  
        type = battery;  
    }  
) log succed  
2018-12-24 09:53:48.249966 0800 YiYun[31491:7687514]  | JIGUANG | D - [JIGUANGReport] send report:(  
        {  
        date = "2018-12-24";  
        itime = 1545616427;  
        "session_id" = f9a11eae5eaf77d55083032051686938;  
        time = "09:53:47";  
        timezone = " 8";  
        type = "active_launch";  
    }  
) log succed  
2018-12-24 09:53:48.279095 0800 YiYun[31491:7687437] [Runtime][DEBUG:] JSWindow_closeSplashscreen  
2018-12-24 09:53:48.309107 0800 YiYun[31491:7687501]  | JIGUANG | D - [JIGUANGReport] send report:(  
        {  
        alert = 0;  
        "alert_style" = 0;  
        "auth_status" = 0;  
        badge = 0;  
        "car_play" = 0;  
        "critical_alert" = 0;  
        "device_id" = 12efed074ddc1518ad31c07cabab3921;  
        itime = 1545616427;  
        "lock_screen" = 0;  
        notification = 0;  
        "provides_app_notification" = 0;  
        sound = 0;  
        "sys_ver" = "12.1";  
        "trigger_scene" = 2;  
        type = "ios_notification_state";  
    }  
) log succed  
2018-12-24 09:53:48.336932 0800 YiYun[31491:7687514]  | JIGUANG | D - [JIGUANGReport] send report:(  
        {  
        itime = 1545616427;  
        language = "en-US";  
        model = "iPhone10,3";  
        "os_version" = "12.1";  
        resolution = 1125x2436;  
        timezone = " 8";  
        type = "device_info";  
    }  
) log succed  
2018-12-24 09:53:48.361099 0800 YiYun[31491:7687494]  | JIGUANG | D - [JIGUANGReport] send report:(  
        {  
        data =         (  
                        {  
                cell =                 (  
                                        {  
                        generation = wifi;  
                        itime = 1545616427;  
                        "mobile_country_code" = 460;  
                        "mobile_network_code" = 01;  
                        "radio_type" = lte;  
                    }  
                );  
                itime = 1545616427;  
            }  
        );  
        itime = 1545616427;  
        "network_type" = "WIFI,";  
        type = "loc_info";  
    }  
) log succed  
2018-12-24 09:53:48.381009 0800 YiYun[31491:7687437] [Runtime][DEBUG:] closeSplashscreen  
2018-12-24 09:53:48.451511 0800 YiYun[31491:7687437] application--didRegisterForRemoteNotificationsWithDeviceToken[<909d213c ae041821 ee9d17c5 a0cf5c56 e569cf0a 1028a93f 8b6c7806 042f9b93>]  
2018-12-24 09:53:48.451681 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGService] Action - registerDeviceToken: <909d213c ae041821 ee9d17c5 a0cf5c56 e569cf0a 1028a93f 8b6c7806 042f9b93>  
2018-12-24 09:53:48.451975 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGUserDefaultsController] Action - setCurrentDeviceToken - 909d213cae041821ee9d17c5a0cf5c56e569cf0a1028a93f8b6c7806042f9b93  
2018-12-24 09:53:48.456046 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGSessionController] Action - doSendTcpRequest  
2018-12-24 09:53:48.456223 0800 YiYun[31491:7687513]  | JIGUANG | I - [JIGUANGDeviceTokenReport] try to upload device token:909d213cae041821ee9d17c5a0cf5c56e569cf0a1028a93f8b6c7806042f9b93  
2018-12-24 09:53:48.518588 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGTcpSocket] Got tcp command  
2018-12-24 09:53:48.518773 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGSessionController] Action - onAckOrRespReceived:  
2018-12-24 09:53:48.529583 0800 YiYun[31491:7687513]  | JIGUANG | D - [JIGUANGDeviceTokenReport] upload device token success, current token is : 909d213cae041821ee9d17c5a0cf5c56e569cf0a1028a93f8b6c7806042f9b93  
2018-12-24 09:53:48.631792 0800 YiYun[31491:7687437] [Runtime][INFO:] appendPreloadJsFile[(null)]
  • CLP

    我刚才试了把官方的uniappdemo运行导出的文件放到离线工程是能跑起来出界面的,你这个过程就改了个apoid吗?还动了什么吗?

    2018-12-24 12:06

  • hgl (作者)

    官方的SDK我也是能跑出来界面的,而且我把native-bundle-main.js删了也能跑。


    但是如果我xcode新建一个项目,按照ios离线SDK集成教程手动把库加进来,再把导出的uniapp放进去,就只有tabbar了(文件夹名和appid都是对的)

    2018-12-24 12:27

  • CLP

    你新建的项目里有这个路径吗?NSString* pWWWPath = [[[NSBundle mainBundle] bundlePath] stringByAppendingPathComponent:@"Pandora/apps/appid/www"]; 如果有把这个路径换一下,换成appid为自己的appid

    2018-12-25 13:16

  • hgl (作者)

    新建的项目,AppDelegate、ViewController,PandoraApi 之类的用的都是官方SDK里的,现在www文件夹载入没有问题的,因为tabbar正常显示。www里的代码也是uniapp官方范例生成的。所以目前能怀疑的应该是xcode的配置,和添加的库不够。

    2018-12-25 13:45

  • hgl (作者)

    @919009 能预测大概是什么原因吗?现在uniapp对我们来说在ios是不可用的状态,非常想修复。

    2018-12-27 10:41

  • hgl (作者)

    iOS离线SDK按照最精简的方式集成的 https://ask.dcloud.net.cn/docs/#//ask.dcloud.net.cn/article/941

    2018-12-27 11:16

  • CLP

    回复 hgl: 你在manifest里配置下面这个节点试试, "plus": {

    "runmode": "normal ", 应用运行模式

    }

    2018-12-27 12:32

  • CLP

    另外,你试试5+的app html代码放到www目录下试试看看能不能出来界面

    2018-12-27 12:40

  • hgl (作者)

    @919009 runmode添加了,还是老问题。5+的代码可以正常显示。我个人感觉既然官方SDK是能正常显示的,问题应该不是出在www里面。

    2018-12-27 13:02

该问题目前已经被锁定, 无法添加新回复