DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: cuiqingbo
今日帖子: 17
在线用户: 9
导航: 论坛 -> 移动应用开发 斑竹:flyers,iamdream  
作者:
男 ww1000 (Delphis) ▲▲▲▲▲ -
普通会员
2022/9/26 11:25:39
标题:
请问: 用FMX开发苹果app,现在是否要使用 M1芯片 的苹果电脑才能编译/运行? 浏览:1229
加入我的收藏
楼主: 请问: 用FMX开发苹果app(iphone/ipad/mac),现在是否要使用 M1芯片 的苹果电脑才能编译/运行?

intel芯片的mac电脑已经无用?

谢谢...
----------------------------------------------
阳光总在
作者:
男 wk_knife (wk_knife) ★☆☆☆☆ -
盒子活跃会员
2022/9/26 13:09:33
1楼: 应该都可以,因为fmx适用opengl
----------------------------------------------
-
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2022/9/26 13:36:03
2楼: 1. 这个是 CPU 的事情,和 OpenGL 无关。OpenGL 是图形关于显卡的事情。

2. Delphi 的编译是在 Windows 上的。只不过编译的时候,需要让它的 PAServer 程序,跑在 MAC 上。这个 PAServer 你可以看成 Delphi 在编译的时候需要苹果的一些资源比如 XCode,而这个 PAServer 就是让 WINDOWS 里面运行的 IDE 在编译的时候通过网那个络远程连接 PAServer,PAServer 运行在 MAC 上,获得 XCode 的一些资源。

3. 至于 Delphi 官方提供的 PAServer 能够运行在什么 CPU 的 MAC 上,看官方文档。至少我自己试过的,D10.4.2. 的 PAServer 有两个:一个Intel 的 MAC,一个 Linux。还有没有其它我也没认真看。
----------------------------------------------
-
作者:
男 wr960204 (武稀松) ★☆☆☆☆ -
盒子活跃会员
2022/9/26 22:50:37
3楼: M1的早就支持了。
另外实测编译的Intel的MacAPP也能在M1上运行,这是苹果做的硬件兼容层实现的
----------------------------------------------
武稀松http://www.raysoftware.cn
作者:
男 ww1000 (Delphis) ▲▲▲▲▲ -
普通会员
2022/9/26 22:58:53
3楼: 谢谢回答,
抱歉,可能我表述有问题。。。

其实应该是问: 
现在 Delphi FMX 使用旧 intel 芯片的 Mac 电脑 编译出来的 app 能否运行在 新ios(ios15x) 及 新机(M1芯片) 上 ?

因为我没有 新机 测试,故先问问大家 , 简单说,就是1个字 “穷”
----------------------------------------------
阳光总在
作者:
男 pcplayer (pcplayer) ★☆☆☆☆ -
普通会员
2022/9/26 23:02:23
4楼: 这个和 MAC 电脑新旧无关。和 XCode 的版本有关。看苹果支持到哪个版本。比如最新的 iPhone 苹果可能要求 XCode 的版本最低应该是多少。

电脑旧,升级 XCode 就好了。
----------------------------------------------
-
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2022/9/26 23:10:42
5楼: I think that this can solve your question:

OS Supported by RAD Studio:

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Installation_Notes#Requirements_for_Supported_Target_Platforms

RAD Studio 10.4  = iOS 14
----------
RAD Studio 11 Alexandria == iOS 15
Windows 11, Windows 10, Windows 7 (SP1 +), Windows Server 2019[1], Windows Server 2016
macOS Monterey, macOS Big Sur[2], macOS Catalina
iOS 15, iOS 14
Android 12, Android 11, Android 10, Android 9, Android 8.1
Ubuntu 20.04 LTS, Ubuntu 18.04 LTS
RedHat Enterprise Linux (version 8)
Windows 10 computer with WSL2 (Windows Subsystem for Linux)

https://docwiki.embarcadero.com/PlatformStatus/en/Main_Page

Hardware Requirements
In addition to your development PC, you need the following to develop multi-device applications for iOS:

-- A Mac running macOS
-- An iOS device, connected to your Mac by USB cable


See FireMonkey Platform Prerequisites for a list of system requirements for your development PC and for the Mac.

Both the Mac and your development system must be on a common network, such as a local area network.
----------

M1 Debugging
The PAServer works on M1 Mac hardware. However, there are issues when debugging for the iOS/64 target on an M1 device.

A different debugger is used for M1 ARM debugging than Intel debugging. This debugger’s evaluator does not support Delphi syntax. Evaluation, such as in the Evaluate/Modify dialog, Watches, and so forth, need to be in C++ syntax. It means that it is required to use double quotes for strings and write expressions as case-sensitive.

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Running_the_Platform_Assistant_on_a_Mac
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 wr960204 (武稀松) ★☆☆☆☆ -
盒子活跃会员
2022/9/27 11:54:20
6楼: 我前面已经说了,至少我编译出Intel Mac的APP,在M1上是可以运行的。
但建议你最好还是输出M1专用的APP
----------------------------------------------
武稀松http://www.raysoftware.cn
作者:
男 ww1000 (Delphis) ▲▲▲▲▲ -
普通会员
2022/9/27 12:12:27
7楼: 谢谢楼上及各位...

我暂时可以继续使用旧mac了。。。。     :)
----------------------------------------------
阳光总在
作者:
男 lsuper (lsuper) ★☆☆☆☆ -
盒子活跃会员
2022/9/27 12:26:32
8楼: 临时的:苹果 Rosetta 方案支持 M1/2 运行 intel 应用
----------------------------------------------
-
作者:
男 net1999 (好人) ★☆☆☆☆ -
普通会员
2022/9/29 0:45:37
9楼: M1 的是 arm 架构, 旧的是 intel 的 X86架构,两种都支持,DELPHI 11.2 中可以分别编译生成。当然,因为目标程序格式不同的,所以二者不兼容。
----------------------------------------------
-
作者:
男 szlbz (秋风) ★☆☆☆☆ -
盒子活跃会员
2022/9/29 7:47:46
10楼: lazarus支持m1/m2
----------------------------------------------
-
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行78.125毫秒 RSS