提交 05303ff3 authored 作者: 袁静春's avatar 袁静春

提交:修改ios配置;

上级 0b2dea4f
//
// AidProtocol.h
// UtdidSDK
//
// Created by ALLEN on 14-12-22.
// Copyright (c) 2014年 Alvin. All rights reserved.
//
#ifndef AidProtocol_h
#define AidProtocol_h
#define EVENT_REQUEST_STARTED 1000
#define EVENT_REQUEST_SUCCESS 1001
#define EVENT_REQUEST_FAILED 1002
#define EVENT_NETWORK_ERROR 1003
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@protocol AidProtocolDelegate <NSObject>
@required
- (void) onAidEventChanged:(NSInteger)eventId
aid:(NSString *)aid;
@end
NS_ASSUME_NONNULL_END
#endif
//
// UTDIDPublic.h
// UTDID
//
// Created by ljianfeng on 2019/8/1.
// Copyright © 2019 Alvin. All rights reserved.
//
#ifndef UTDID_h
#define UTDID_h
#import <UTDID/UTDevice.h>
#import <UTDID/AidProtocol.h>
#endif /* UTDIDPublic_h */
//
// UTDevice.h
//
//
// Created by Alvin on 4/21/13.
//
// 设备信息的分装类:sdk合作开发需要用这个类提供的设备信息接口
// Version:1.5.0-AU
#ifndef UTDIDDevice_h
#define UTDIDDevice_h
#import <Foundation/Foundation.h>
@protocol AidProtocolDelegate;
NS_ASSUME_NONNULL_BEGIN
@interface UTDevice : NSObject
/**
* @brief 获取SDK生成的设备唯一标识.
*
* @warning 调用说明:这个设备唯一标识是持久的,并且格式安全,iOS6以及以下,多应用互通.
*
* 调用顺序:utdid任意时刻都可以调用.
*
* @return 24字节的设备唯一标识.
*/
+(NSString *) utdid;
/**
* @brief 同步获得AID.
*
* @warning 调用说明:若本地端没有最新AID,将耗费远程通信时间并阻塞线程,建议将此调用置于非主线程,或使用{@link getAidAsync}异步获得AID。
*
* 调用顺序:aid任意时刻都可以调用.
*
* @return AID.
*/
+(NSString *) aid:(NSString *)appName
token:(NSString *)token;
/**
* @brief 异步请求AID.
*
* @warning 调用说明:若本地端没有最新AID,将建立异步请求获得AID,
*
* 调用顺序:aidAsync任意时刻都可以调用.
*/
+(void) aidAsync:(NSString *)appName
token:(NSString *)token
aidDelegate:(id<AidProtocolDelegate> )aidDelegate;
@end
NS_ASSUME_NONNULL_END
#endif
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>19G73</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>UTDID</string>
<key>CFBundleIdentifier</key>
<string>com.alibaba.UTDID-AU</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>UTDID</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.5.0.90-SNAPSHOT</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>iPhoneOS</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>17B102</string>
<key>DTPlatformName</key>
<string>iphoneos</string>
<key>DTPlatformVersion</key>
<string>13.2</string>
<key>DTSDKBuild</key>
<string>17B102</string>
<key>DTSDKName</key>
<string>iphoneos13.2</string>
<key>DTXcode</key>
<string>1120</string>
<key>DTXcodeBuild</key>
<string>11B500</string>
<key>MinimumOSVersion</key>
<string>7.0</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
</dict>
</plist>
framework module UTDID {
umbrella header "UTDID.h"
export *
module * { export * }
}
...@@ -24,7 +24,6 @@ A new Flutter plugin for AliCloud push. ...@@ -24,7 +24,6 @@ A new Flutter plugin for AliCloud push.
'AlicloudPush/CloudPushSDK.framework', 'AlicloudPush/CloudPushSDK.framework',
'AlicloudPush/EMASRest.framework', 'AlicloudPush/EMASRest.framework',
'AlicloudPush/UTMini.framework', 'AlicloudPush/UTMini.framework',
# 'AlicloudPush/UTDID.framework',
] ]
s.dependency 'Flutter' s.dependency 'Flutter'
# s.dependency 'AlicloudPush', '1.9.9' # s.dependency 'AlicloudPush', '1.9.9'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论