简体   繁体   English

如何在 IOS 设备上的裸工作流中测试我的博览会应用程序?

[英]How can i test my expo app in bare workflow on IOS device?

I just ejected my Expo app to access to in app purchase feature.我刚刚退出了我的 Expo 应用程序以访问应用程序内购买功能。 But i don't know how to test my app on a physical apple device to test my IAP feature (without test flight because i want to see my logs to debug more easly).但我不知道如何在物理苹果设备上测试我的应用程序来测试我的 IAP 功能(没有试飞,因为我想查看我的日志以更轻松地调试)。 Is there a way for that ?有办法吗?

You can use these alternatives:您可以使用以下替代方法:

1- Lumberjack 1-伐木工人

CocoaLumberjack is a fast & simple, yet powerful & flexible logging framework for macOS, iOS, tvOS and watchOS. CocoaLumberjack 是适用于 macOS、iOS、tvOS 和 watchOS 的快速简单但功能强大且灵活的日志记录框架。

2- LibComponentLogging 2- LibComponentLogging

LibComponentLogging is a small logging library for Objective-C on Mac OS X and iOS which provides log levels, log components, and pluggable logging back-ends, eg writing log messages to a file, or sending them to the system log. LibComponentLogging 是一个用于 Mac OS X 和 iOS 上的 Objective-C 的小型日志库,它提供日志级别、日志组件和可插入的日志后端,例如将日志消息写入文件,或将它们发送到系统日志。

3- NSLogger 3- NSLogger

NSLogger is a high performance logging utility which displays traces emitted by client applications running on macOS, iOS and Android. NSLogger 是一个高性能日志实用程序,它显示运行在 macOS、iOS 和 Android 上的客户端应用程序发出的跟踪记录。 It replaces traditional console logging traces (NSLog(), Java Log).它取代了传统的控制台日志跟踪(NSLog()、Java Log)。

The NSLogger Viewer runs on macOS and replaces Xcode, Android Studio or Eclipse consoles. NSLogger 查看器在 macOS 上运行并取代 Xcode、Android Studio 或 Eclipse 控制台。 It provides powerful additions like display filtering, defining log domain and level, image and binary logging, message coloring, traces buffering, timing information, link with source code, etc.它提供了强大的附加功能,例如显示过滤、定义日志域和级别、图像和二进制日志记录、消息着色、跟踪缓冲、计时信息、与源代码的链接等。

Maybe you can try expo run:ios -d ?也许您可以尝试expo run:ios -d
-d allows you to choose one of your connected devices :) -d允许您选择连接的设备之一:)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我需要在我的个人设备上测试我的 React Native 应用程序(作为裸工作流从 Expo 中弹出)。 如何在我的 iPhone 上构建和部署它? - I need to test my React Native app (Ejected from Expo as Bare Workflow) on my personal device. How do I build it and deploy on my iPhone? iOS/Expo:弹出到裸工作流后无法在物理设备上构建 - iOS/Expo: Can't build on physical device after ejecting to bare workflow 如何在未越狱的iOS设备上测试已签名的应用程序 - How can I test my signed app on an unjailbroken iOS device 如何在从博览会裸工作流构建 iOS 应用程序时修复错误 - How to fix error while building iOS app from expo bare workflow 我无法通过Expo在iOS中测试我的应用 - I can't test my app in iOS with Expo expo 裸工作流不能使用nativemodule - expo bare workflow can't use nativemodule 如何在Xcode 9的iOS设备上运行我的App? - How I can run my App on my iOS device in Xcode 9 ? 如何使用 Expo 在真实的 iOS 设备上运行应用程序? - How do I run an app on a real iOS device using Expo? 没有Apple Developer Program,我可以在iOS设备上测试我的Ionic App - Can I test my Ionic App on my iOS device without Apple Developer Program 我可以免费在iOS设备上测试我的Codename One应用吗? - Can I test my Codename One app on my iOS device for free?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM