Fix bug
This commit is contained in:
		
							parent
							
								
									1fce0e4cae
								
							
						
					
					
						commit
						90f715acea
					
				| @ -1,3 +1,6 @@ | |||||||
|  | ### 1.0.2 | ||||||
|  | Fix the bug that cannot run on the ios simulator due to lack of cup architecture | ||||||
|  | 
 | ||||||
| ## 1.0.1 | ## 1.0.1 | ||||||
| Fix bug | Fix bug | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ A flutter IM plugin for android and ios. | |||||||
| 
 | 
 | ||||||
| #### 1,Add dependency in yaml | #### 1,Add dependency in yaml | ||||||
| 
 | 
 | ||||||
|        flutter_openim_sdk: ^1.0.1 |        flutter_openim_sdk: ^1.0.2 | ||||||
| 
 | 
 | ||||||
| #### 2,Import package | #### 2,Import package | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -68,7 +68,7 @@ packages: | |||||||
|       path: ".." |       path: ".." | ||||||
|       relative: true |       relative: true | ||||||
|     source: path |     source: path | ||||||
|     version: "0.0.9+1" |     version: "1.0.1" | ||||||
|   flutter_test: |   flutter_test: | ||||||
|     dependency: "direct dev" |     dependency: "direct dev" | ||||||
|     description: flutter |     description: flutter | ||||||
|  | |||||||
							
								
								
									
										40
									
								
								ios/Framework/OpenIMCore.xcframework/Info.plist
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										40
									
								
								ios/Framework/OpenIMCore.xcframework/Info.plist
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,40 @@ | |||||||
|  | <?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>AvailableLibraries</key> | ||||||
|  | 	<array> | ||||||
|  | 		<dict> | ||||||
|  | 			<key>LibraryIdentifier</key> | ||||||
|  | 			<string>ios-arm64</string> | ||||||
|  | 			<key>LibraryPath</key> | ||||||
|  | 			<string>OpenIMCore.framework</string> | ||||||
|  | 			<key>SupportedArchitectures</key> | ||||||
|  | 			<array> | ||||||
|  | 				<string>arm64</string> | ||||||
|  | 			</array> | ||||||
|  | 			<key>SupportedPlatform</key> | ||||||
|  | 			<string>ios</string> | ||||||
|  | 		</dict> | ||||||
|  | 		<dict> | ||||||
|  | 			<key>LibraryIdentifier</key> | ||||||
|  | 			<string>ios-arm64_x86_64-simulator</string> | ||||||
|  | 			<key>LibraryPath</key> | ||||||
|  | 			<string>OpenIMCore.framework</string> | ||||||
|  | 			<key>SupportedArchitectures</key> | ||||||
|  | 			<array> | ||||||
|  | 				<string>arm64</string> | ||||||
|  | 				<string>x86_64</string> | ||||||
|  | 			</array> | ||||||
|  | 			<key>SupportedPlatform</key> | ||||||
|  | 			<string>ios</string> | ||||||
|  | 			<key>SupportedPlatformVariant</key> | ||||||
|  | 			<string>simulator</string> | ||||||
|  | 		</dict> | ||||||
|  | 	</array> | ||||||
|  | 	<key>CFBundlePackageType</key> | ||||||
|  | 	<string>XFWK</string> | ||||||
|  | 	<key>XCFrameworkFormatVersion</key> | ||||||
|  | 	<string>1.0</string> | ||||||
|  | </dict> | ||||||
|  | </plist> | ||||||
| @ -0,0 +1,13 @@ | |||||||
|  | 
 | ||||||
|  | // Objective-C API for talking to the following Go packages
 | ||||||
|  | //
 | ||||||
|  | //	open_im_sdk/open_im_sdk
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gomobile bind. Do not edit.
 | ||||||
|  | #ifndef __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | #define __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | 
 | ||||||
|  | #include "Open_im_sdk.objc.h" | ||||||
|  | #include "Universe.objc.h" | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -0,0 +1,29 @@ | |||||||
|  | // Objective-C API for talking to  Go package.
 | ||||||
|  | //   gobind -lang=objc 
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gobind. Do not edit.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __Universe_H__ | ||||||
|  | #define __Universe_H__ | ||||||
|  | 
 | ||||||
|  | @import Foundation; | ||||||
|  | #include "ref.h" | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror; | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror <NSObject> | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @interface Universeerror : NSError <goSeqRefInterface, Universeerror> { | ||||||
|  | } | ||||||
|  | @property(strong, readonly) _Nonnull id _ref; | ||||||
|  | 
 | ||||||
|  | - (nonnull instancetype)initWithRef:(_Nonnull id)ref; | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,35 @@ | |||||||
|  | // Copyright 2015 The Go Authors. All rights reserved.
 | ||||||
|  | // Use of this source code is governed by a BSD-style
 | ||||||
|  | // license that can be found in the LICENSE file.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __GO_REF_HDR__ | ||||||
|  | #define __GO_REF_HDR__ | ||||||
|  | 
 | ||||||
|  | #include <Foundation/Foundation.h> | ||||||
|  | 
 | ||||||
|  | // GoSeqRef is an object tagged with an integer for passing back and
 | ||||||
|  | // forth across the language boundary. A GoSeqRef may represent either
 | ||||||
|  | // an instance of a Go object, or an Objective-C object passed to Go.
 | ||||||
|  | // The explicit allocation of a GoSeqRef is used to pin a Go object
 | ||||||
|  | // when it is passed to Objective-C. The Go seq package maintains a
 | ||||||
|  | // reference to the Go object in a map keyed by the refnum along with
 | ||||||
|  | // a reference count. When the reference count reaches zero, the Go
 | ||||||
|  | // seq package will clear the corresponding entry in the map.
 | ||||||
|  | @interface GoSeqRef : NSObject { | ||||||
|  | } | ||||||
|  | @property(readonly) int32_t refnum; | ||||||
|  | @property(strong) id obj; // NULL when representing a Go object.
 | ||||||
|  | 
 | ||||||
|  | // new GoSeqRef object to proxy a Go object. The refnum must be
 | ||||||
|  | // provided from Go side.
 | ||||||
|  | - (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; | ||||||
|  | 
 | ||||||
|  | - (int32_t)incNum; | ||||||
|  | 
 | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @protocol goSeqRefInterface | ||||||
|  | -(GoSeqRef*) _ref; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,8 @@ | |||||||
|  | framework module "OpenIMCore" { | ||||||
|  | 	header "ref.h" | ||||||
|  |     header "Open_im_sdk.objc.h" | ||||||
|  |     header "Universe.objc.h" | ||||||
|  |     header "OpenIMCore.h" | ||||||
|  | 
 | ||||||
|  |     export * | ||||||
|  | } | ||||||
										
											Binary file not shown.
										
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | <?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> | ||||||
|  |       </dict> | ||||||
|  |     </plist> | ||||||
| @ -0,0 +1,13 @@ | |||||||
|  | 
 | ||||||
|  | // Objective-C API for talking to the following Go packages
 | ||||||
|  | //
 | ||||||
|  | //	open_im_sdk/open_im_sdk
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gomobile bind. Do not edit.
 | ||||||
|  | #ifndef __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | #define __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | 
 | ||||||
|  | #include "Open_im_sdk.objc.h" | ||||||
|  | #include "Universe.objc.h" | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -0,0 +1,29 @@ | |||||||
|  | // Objective-C API for talking to  Go package.
 | ||||||
|  | //   gobind -lang=objc 
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gobind. Do not edit.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __Universe_H__ | ||||||
|  | #define __Universe_H__ | ||||||
|  | 
 | ||||||
|  | @import Foundation; | ||||||
|  | #include "ref.h" | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror; | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror <NSObject> | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @interface Universeerror : NSError <goSeqRefInterface, Universeerror> { | ||||||
|  | } | ||||||
|  | @property(strong, readonly) _Nonnull id _ref; | ||||||
|  | 
 | ||||||
|  | - (nonnull instancetype)initWithRef:(_Nonnull id)ref; | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,35 @@ | |||||||
|  | // Copyright 2015 The Go Authors. All rights reserved.
 | ||||||
|  | // Use of this source code is governed by a BSD-style
 | ||||||
|  | // license that can be found in the LICENSE file.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __GO_REF_HDR__ | ||||||
|  | #define __GO_REF_HDR__ | ||||||
|  | 
 | ||||||
|  | #include <Foundation/Foundation.h> | ||||||
|  | 
 | ||||||
|  | // GoSeqRef is an object tagged with an integer for passing back and
 | ||||||
|  | // forth across the language boundary. A GoSeqRef may represent either
 | ||||||
|  | // an instance of a Go object, or an Objective-C object passed to Go.
 | ||||||
|  | // The explicit allocation of a GoSeqRef is used to pin a Go object
 | ||||||
|  | // when it is passed to Objective-C. The Go seq package maintains a
 | ||||||
|  | // reference to the Go object in a map keyed by the refnum along with
 | ||||||
|  | // a reference count. When the reference count reaches zero, the Go
 | ||||||
|  | // seq package will clear the corresponding entry in the map.
 | ||||||
|  | @interface GoSeqRef : NSObject { | ||||||
|  | } | ||||||
|  | @property(readonly) int32_t refnum; | ||||||
|  | @property(strong) id obj; // NULL when representing a Go object.
 | ||||||
|  | 
 | ||||||
|  | // new GoSeqRef object to proxy a Go object. The refnum must be
 | ||||||
|  | // provided from Go side.
 | ||||||
|  | - (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; | ||||||
|  | 
 | ||||||
|  | - (int32_t)incNum; | ||||||
|  | 
 | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @protocol goSeqRefInterface | ||||||
|  | -(GoSeqRef*) _ref; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,8 @@ | |||||||
|  | framework module "OpenIMCore" { | ||||||
|  | 	header "ref.h" | ||||||
|  |     header "Open_im_sdk.objc.h" | ||||||
|  |     header "Universe.objc.h" | ||||||
|  |     header "OpenIMCore.h" | ||||||
|  | 
 | ||||||
|  |     export * | ||||||
|  | } | ||||||
										
											Binary file not shown.
										
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | <?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> | ||||||
|  |       </dict> | ||||||
|  |     </plist> | ||||||
| @ -0,0 +1,13 @@ | |||||||
|  | 
 | ||||||
|  | // Objective-C API for talking to the following Go packages
 | ||||||
|  | //
 | ||||||
|  | //	open_im_sdk/open_im_sdk
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gomobile bind. Do not edit.
 | ||||||
|  | #ifndef __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | #define __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | 
 | ||||||
|  | #include "Open_im_sdk.objc.h" | ||||||
|  | #include "Universe.objc.h" | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -0,0 +1,29 @@ | |||||||
|  | // Objective-C API for talking to  Go package.
 | ||||||
|  | //   gobind -lang=objc 
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gobind. Do not edit.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __Universe_H__ | ||||||
|  | #define __Universe_H__ | ||||||
|  | 
 | ||||||
|  | @import Foundation; | ||||||
|  | #include "ref.h" | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror; | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror <NSObject> | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @interface Universeerror : NSError <goSeqRefInterface, Universeerror> { | ||||||
|  | } | ||||||
|  | @property(strong, readonly) _Nonnull id _ref; | ||||||
|  | 
 | ||||||
|  | - (nonnull instancetype)initWithRef:(_Nonnull id)ref; | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,35 @@ | |||||||
|  | // Copyright 2015 The Go Authors. All rights reserved.
 | ||||||
|  | // Use of this source code is governed by a BSD-style
 | ||||||
|  | // license that can be found in the LICENSE file.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __GO_REF_HDR__ | ||||||
|  | #define __GO_REF_HDR__ | ||||||
|  | 
 | ||||||
|  | #include <Foundation/Foundation.h> | ||||||
|  | 
 | ||||||
|  | // GoSeqRef is an object tagged with an integer for passing back and
 | ||||||
|  | // forth across the language boundary. A GoSeqRef may represent either
 | ||||||
|  | // an instance of a Go object, or an Objective-C object passed to Go.
 | ||||||
|  | // The explicit allocation of a GoSeqRef is used to pin a Go object
 | ||||||
|  | // when it is passed to Objective-C. The Go seq package maintains a
 | ||||||
|  | // reference to the Go object in a map keyed by the refnum along with
 | ||||||
|  | // a reference count. When the reference count reaches zero, the Go
 | ||||||
|  | // seq package will clear the corresponding entry in the map.
 | ||||||
|  | @interface GoSeqRef : NSObject { | ||||||
|  | } | ||||||
|  | @property(readonly) int32_t refnum; | ||||||
|  | @property(strong) id obj; // NULL when representing a Go object.
 | ||||||
|  | 
 | ||||||
|  | // new GoSeqRef object to proxy a Go object. The refnum must be
 | ||||||
|  | // provided from Go side.
 | ||||||
|  | - (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; | ||||||
|  | 
 | ||||||
|  | - (int32_t)incNum; | ||||||
|  | 
 | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @protocol goSeqRefInterface | ||||||
|  | -(GoSeqRef*) _ref; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,8 @@ | |||||||
|  | framework module "OpenIMCore" { | ||||||
|  | 	header "ref.h" | ||||||
|  |     header "Open_im_sdk.objc.h" | ||||||
|  |     header "Universe.objc.h" | ||||||
|  |     header "OpenIMCore.h" | ||||||
|  | 
 | ||||||
|  |     export * | ||||||
|  | } | ||||||
										
											Binary file not shown.
										
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | <?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> | ||||||
|  |       </dict> | ||||||
|  |     </plist> | ||||||
| @ -0,0 +1,13 @@ | |||||||
|  | 
 | ||||||
|  | // Objective-C API for talking to the following Go packages
 | ||||||
|  | //
 | ||||||
|  | //	open_im_sdk/open_im_sdk
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gomobile bind. Do not edit.
 | ||||||
|  | #ifndef __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | #define __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | 
 | ||||||
|  | #include "Open_im_sdk.objc.h" | ||||||
|  | #include "Universe.objc.h" | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -0,0 +1,29 @@ | |||||||
|  | // Objective-C API for talking to  Go package.
 | ||||||
|  | //   gobind -lang=objc 
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gobind. Do not edit.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __Universe_H__ | ||||||
|  | #define __Universe_H__ | ||||||
|  | 
 | ||||||
|  | @import Foundation; | ||||||
|  | #include "ref.h" | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror; | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror <NSObject> | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @interface Universeerror : NSError <goSeqRefInterface, Universeerror> { | ||||||
|  | } | ||||||
|  | @property(strong, readonly) _Nonnull id _ref; | ||||||
|  | 
 | ||||||
|  | - (nonnull instancetype)initWithRef:(_Nonnull id)ref; | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,35 @@ | |||||||
|  | // Copyright 2015 The Go Authors. All rights reserved.
 | ||||||
|  | // Use of this source code is governed by a BSD-style
 | ||||||
|  | // license that can be found in the LICENSE file.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __GO_REF_HDR__ | ||||||
|  | #define __GO_REF_HDR__ | ||||||
|  | 
 | ||||||
|  | #include <Foundation/Foundation.h> | ||||||
|  | 
 | ||||||
|  | // GoSeqRef is an object tagged with an integer for passing back and
 | ||||||
|  | // forth across the language boundary. A GoSeqRef may represent either
 | ||||||
|  | // an instance of a Go object, or an Objective-C object passed to Go.
 | ||||||
|  | // The explicit allocation of a GoSeqRef is used to pin a Go object
 | ||||||
|  | // when it is passed to Objective-C. The Go seq package maintains a
 | ||||||
|  | // reference to the Go object in a map keyed by the refnum along with
 | ||||||
|  | // a reference count. When the reference count reaches zero, the Go
 | ||||||
|  | // seq package will clear the corresponding entry in the map.
 | ||||||
|  | @interface GoSeqRef : NSObject { | ||||||
|  | } | ||||||
|  | @property(readonly) int32_t refnum; | ||||||
|  | @property(strong) id obj; // NULL when representing a Go object.
 | ||||||
|  | 
 | ||||||
|  | // new GoSeqRef object to proxy a Go object. The refnum must be
 | ||||||
|  | // provided from Go side.
 | ||||||
|  | - (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; | ||||||
|  | 
 | ||||||
|  | - (int32_t)incNum; | ||||||
|  | 
 | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @protocol goSeqRefInterface | ||||||
|  | -(GoSeqRef*) _ref; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,8 @@ | |||||||
|  | framework module "OpenIMCore" { | ||||||
|  | 	header "ref.h" | ||||||
|  |     header "Open_im_sdk.objc.h" | ||||||
|  |     header "Universe.objc.h" | ||||||
|  |     header "OpenIMCore.h" | ||||||
|  | 
 | ||||||
|  |     export * | ||||||
|  | } | ||||||
										
											Binary file not shown.
										
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | <?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> | ||||||
|  |       </dict> | ||||||
|  |     </plist> | ||||||
| @ -0,0 +1,13 @@ | |||||||
|  | 
 | ||||||
|  | // Objective-C API for talking to the following Go packages
 | ||||||
|  | //
 | ||||||
|  | //	open_im_sdk/open_im_sdk
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gomobile bind. Do not edit.
 | ||||||
|  | #ifndef __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | #define __OpenIMCore_FRAMEWORK_H__ | ||||||
|  | 
 | ||||||
|  | #include "Open_im_sdk.objc.h" | ||||||
|  | #include "Universe.objc.h" | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -0,0 +1,29 @@ | |||||||
|  | // Objective-C API for talking to  Go package.
 | ||||||
|  | //   gobind -lang=objc 
 | ||||||
|  | //
 | ||||||
|  | // File is generated by gobind. Do not edit.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __Universe_H__ | ||||||
|  | #define __Universe_H__ | ||||||
|  | 
 | ||||||
|  | @import Foundation; | ||||||
|  | #include "ref.h" | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror; | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @protocol Universeerror <NSObject> | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @class Universeerror; | ||||||
|  | 
 | ||||||
|  | @interface Universeerror : NSError <goSeqRefInterface, Universeerror> { | ||||||
|  | } | ||||||
|  | @property(strong, readonly) _Nonnull id _ref; | ||||||
|  | 
 | ||||||
|  | - (nonnull instancetype)initWithRef:(_Nonnull id)ref; | ||||||
|  | - (NSString* _Nonnull)error; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,35 @@ | |||||||
|  | // Copyright 2015 The Go Authors. All rights reserved.
 | ||||||
|  | // Use of this source code is governed by a BSD-style
 | ||||||
|  | // license that can be found in the LICENSE file.
 | ||||||
|  | 
 | ||||||
|  | #ifndef __GO_REF_HDR__ | ||||||
|  | #define __GO_REF_HDR__ | ||||||
|  | 
 | ||||||
|  | #include <Foundation/Foundation.h> | ||||||
|  | 
 | ||||||
|  | // GoSeqRef is an object tagged with an integer for passing back and
 | ||||||
|  | // forth across the language boundary. A GoSeqRef may represent either
 | ||||||
|  | // an instance of a Go object, or an Objective-C object passed to Go.
 | ||||||
|  | // The explicit allocation of a GoSeqRef is used to pin a Go object
 | ||||||
|  | // when it is passed to Objective-C. The Go seq package maintains a
 | ||||||
|  | // reference to the Go object in a map keyed by the refnum along with
 | ||||||
|  | // a reference count. When the reference count reaches zero, the Go
 | ||||||
|  | // seq package will clear the corresponding entry in the map.
 | ||||||
|  | @interface GoSeqRef : NSObject { | ||||||
|  | } | ||||||
|  | @property(readonly) int32_t refnum; | ||||||
|  | @property(strong) id obj; // NULL when representing a Go object.
 | ||||||
|  | 
 | ||||||
|  | // new GoSeqRef object to proxy a Go object. The refnum must be
 | ||||||
|  | // provided from Go side.
 | ||||||
|  | - (instancetype)initWithRefnum:(int32_t)refnum obj:(id)obj; | ||||||
|  | 
 | ||||||
|  | - (int32_t)incNum; | ||||||
|  | 
 | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | @protocol goSeqRefInterface | ||||||
|  | -(GoSeqRef*) _ref; | ||||||
|  | @end | ||||||
|  | 
 | ||||||
|  | #endif | ||||||
| @ -0,0 +1,8 @@ | |||||||
|  | framework module "OpenIMCore" { | ||||||
|  | 	header "ref.h" | ||||||
|  |     header "Open_im_sdk.objc.h" | ||||||
|  |     header "Universe.objc.h" | ||||||
|  |     header "OpenIMCore.h" | ||||||
|  | 
 | ||||||
|  |     export * | ||||||
|  | } | ||||||
										
											Binary file not shown.
										
									
								
							| @ -0,0 +1,6 @@ | |||||||
|  | <?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> | ||||||
|  |       </dict> | ||||||
|  |     </plist> | ||||||
| @ -17,7 +17,7 @@ A new Flutter project. | |||||||
|   s.dependency 'Flutter' |   s.dependency 'Flutter' | ||||||
|   s.platform = :ios, '8.0' |   s.platform = :ios, '8.0' | ||||||
| 
 | 
 | ||||||
|   s.vendored_frameworks = 'Framework/*.framework' |   s.vendored_frameworks = 'Framework/*.xcframework' | ||||||
|   # Flutter.framework does not contain a i386 slice. |   # Flutter.framework does not contain a i386 slice. | ||||||
|   s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' } |   s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'i386 arm64' } | ||||||
|   s.swift_version = '5.0' |   s.swift_version = '5.0' | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| name: flutter_openim_sdk | name: flutter_openim_sdk | ||||||
| description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source. | description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source. | ||||||
| version: 1.0.1 | version: 1.0.2 | ||||||
| homepage: https://www.rentsoft.cn | homepage: https://www.rentsoft.cn | ||||||
| repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter | repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user