# IoLangFramework **Repository Path**: sgl/iolangframework ## Basic Information - **Project Name**: IoLangFramework - **Description**: 在iOS中使用io。 - **Primary Language**: Objective-C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2013-07-09 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #Io Language 在iOS中嵌入Io 目前仅能在模拟器中运行。 在iOS中需要使用USE_SETJMP方式。 无法编译到device上,coroutine 在arm下无法编译。 编译是需要将taskimpl.h中如下内容: #if defined __APPLE__ # include # if defined MAC_OS_X_VERSION_10_5 # undef USE_UCONTEXT # define USE_UCONTEXT 0 # endif #endif 改为: #if defined __APPLE__ # include # include # if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR # undef HAS_UCONTEXT # undef USE_UCONTEXT # undef USE_FIBERS # define USE_SETJMP 1 # elif TARGET_OS_MAC # if defined MAC_OS_X_VERSION_10_5 # undef USE_UCONTEXT # define USE_UCONTEXT 0 # endif # endif #endif