master
wanghualei 2021-02-05 15:20:26 +08:00
parent 03a123667f
commit 8febb535c4
2 changed files with 61 additions and 14 deletions

View File

@ -1,31 +1,46 @@
# 五行代码让你的App运行小程序
# iOS工程 readme
## 1、 修改Podfile文件增加FinApplet依赖
<a name="ulvpb"></a>
## 🤩 FinClip是什么?
APP<br />App<br />App<br /><br />FinClip<br />
<a name="y9LBK"></a>
## 🤔 你要怎么做?<br />
1. get<br /><br />or [](https://mp.finogeeks.com/#/ecosystem) <br />or 使[https://github.com/finogeeks/miniprogram-demo](https://github.com/finogeeks/miniprogram-demo)
1. finclip SDKAPP
1. [FinClip](https://finclip.com/#/home)
App<br />
<a name="TaX3b"></a>
## 🔜 五行代码让你的App运行小程序
<a name="Te1LR"></a>
### 1、 修改Podfile文件增加FinApplet依赖
```
source 'https://github.com/CocoaPods/Specs.git'
pod 'FinApplet'
```
## 2、初始化 SDK **五行代码完成初始化**
<a name="axnzO"></a>
### 2、初始化 SDK 五行代码完成初始化
AppDelegate SDK
```
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
NSString *appKey = @"SDKKEY";
FATConfig *config = [FATConfig configWithAppSecret:@"SECRET" appKey:appKey];
config.apiServer = @"https://mp.finogeeks.com";
config.apiServer = @"https://api.finclip.com";
config.apiPrefix = @"/api/v1/mop";
[[FATClient sharedClient] initWithConfig:config error:nil];
return YES;
}
```
## 3、打开小程序
<a name="zYJ7X"></a>
### 3、打开小程序
```
NSString *appId = @"小程序id";
//
@ -33,10 +48,40 @@ NSString *appId = @"小程序id";
NSLog(@"result:%d---error:%@", result, error);
}];
```
clone**sdk keyid**<br /> keysecretAppID <br />
<br /><br />
* **SDKKEY** **Secret**
* **apiServer** **IP:**
* **id** appid
* [https://mp.finogeeks.com](https://mp.finogeeks.com)
* [iOS](https://mp.finogeeks.com/mop/document/runtime-sdk/sdk-integrate/ios.html)
- **SDKKEY** **Secret** [ FinClip](https://finclip.com/#/home) [](https://finclip.com/#/register)
- key\secret\apisever<br />
- **apiServer** **apiPrefix **demo
- **id** AppID <br />IDfinclipID
<a name="GZU3P"></a>
## 📚 想要通关全程?这里是全程攻略
demo<br />App
<a name="Ri882"></a>
### 1、FinClip 平台是什么?
- Finclip<br />
- FinClip
- FinClip
<a name="sx7EX"></a>
### 2、FinClip 平台的特色?
- 线线宿线 APP
-
- 便 APP线
- H5 /
-
<a name="l5pz3"></a>
### 3、FinClip 有哪些典型案例?
<br />![.png](https://www-cdn.finclip.com/images/yippi.jpeg)
<a name="l352x"></a>
## ⛳️ 获得更多指引
[https://www.finclip.com/mop/document/quickstart/Community-Edition.html](https://www.finclip.com/mop/document/quickstart/Community-Edition.html)<br /> iOSAPI[https://www.finclip.com/mop/document/runtime-sdk/sdk-api/ios.html](https://www.finclip.com/mop/document/runtime-sdk/sdk-api/ios.html)<br /> iOS[https://www.finclip.com/mop/document/faq/SDK/iOS-SDK.html](https://www.finclip.com/mop/document/faq/SDK/iOS-SDK.html)<br />
<a name="9K1zU"></a>
## ☎️ 与我们联系
FinClip使<br />![](https://cdn.nlark.com/yuque/0/2021/png/679837/1612498062501-9cb75ea0-7567-46ac-a62c-1ad3397246fb.png#align=left&display=inline&height=213&margin=%5Bobject%20Object%5D&originHeight=611&originWidth=573&size=0&status=done&style=none&width=200)

View File

@ -378,6 +378,7 @@
baseConfigurationReference = 3F2BFD149B6F799A303A07B3 /* Pods-demo.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 9QCKYFU5M4;
ENABLE_BITCODE = NO;
@ -389,6 +390,7 @@
);
PRODUCT_BUNDLE_IDENTIFIER = com.finogeeks.finclip.demo;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;