相关疑难解决方法(0)

如何在我的iPhone模拟器上安装.ipa文件

我的Mac上运行了一个iphone模拟器.

我有一个.ipa文件,你能告诉我如何在模拟器上安装它?

iphone macos ios-simulator

149
推荐指数
12
解决办法
27万
查看次数

React Native - 无法执行 JS 调用:__fbBatchedBridge 未定义

我一直在关注本教程https://www.raywenderlich.com/126063/react-native-tutorial

并在遇到问题后决定从头开始。

react-native init PropertyFinder在 Xcode 中运行并打开了该项目。当我编译并运行它时,它按预期在模拟器中打开,显示:

在此处输入图片说明

但不久之后屏幕消失并显示:

在此处输入图片说明

错误文本是:

Unable to execute JS call: __fbBatchedBridge is undefined
Run Code Online (Sandbox Code Playgroud)

它在不到 24 小时前还在工作,所以不确定发生了什么。Fwiw,我完全删除了该项目并重新开始。

这个答案(无法执行 JS 调用:__fbBatchedBridge 未定义)建议检查它是否通过网络获取代码。这似乎不是问题。

App Delegate中的完整代码如下:

/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * All rights reserved.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree. An additional grant
 * of patent rights can be found in the PATENTS …
Run Code Online (Sandbox Code Playgroud)

xcode react-native

12
推荐指数
2
解决办法
8175
查看次数

标签 统计

ios-simulator ×1

iphone ×1

macos ×1

react-native ×1

xcode ×1