Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2edbea5309 | ||
|
|
724a1acb69 | ||
|
|
655a2fe70c | ||
|
|
9a193ac31d | ||
|
|
9369c90fea | ||
|
|
d22d8f5adb | ||
|
|
329425f1fd | ||
|
|
40ea31cc2b |
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Pod::Spec.new do |s|
|
Pod::Spec.new do |s|
|
||||||
s.name = 'cocos_view_pod'
|
s.name = 'cocos_view_pod'
|
||||||
s.version = '0.1.0'
|
s.version = '0.1.8'
|
||||||
s.summary = 'A short description of cocos_view_pod.'
|
s.summary = 'A short description of cocos_view_pod.'
|
||||||
|
|
||||||
# This description is used to generate tags and improve search results.
|
# This description is used to generate tags and improve search results.
|
||||||
@@ -21,20 +21,30 @@ Pod::Spec.new do |s|
|
|||||||
TODO: Add long description of the pod here.
|
TODO: Add long description of the pod here.
|
||||||
DESC
|
DESC
|
||||||
|
|
||||||
s.homepage = 'https://github.com/gem/cocos_view_pod'
|
s.homepage = 'https://gitea.sdws.shop/xim/flutter_cocos_view_pod'
|
||||||
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
|
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
|
||||||
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
s.license = { :type => 'MIT', :file => 'LICENSE' }
|
||||||
s.author = { 'gem' => 'cc@gmail2.com' }
|
s.author = { 'gem' => 'cc@gmail2.com' }
|
||||||
s.source = { :git => 'https://gitea.sdws.shop/xim/flutter_cocos_view_pod.git', :tag => s.version.to_s }
|
s.source = { :git => 'https://gitea.sdws.shop/xim/flutter_cocos_view_pod.git', :tag => s.version.to_s }
|
||||||
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
|
||||||
|
|
||||||
s.ios.deployment_target = '14.0'
|
s.ios.deployment_target = '14.5'
|
||||||
|
|
||||||
s.source_files = 'cocos_view_pod/Classes/**/*'
|
s.source_files = 'cocos_view_pod/Classes/**/*.{h,m,mm}'
|
||||||
s.vendored_libraries = "cocos_view_pod/Libs/**/*.a"
|
s.vendored_libraries = "cocos_view_pod/Libs/**/*.a"
|
||||||
s.frameworks = 'AudioToolbox', 'AVFoundation', 'AVKit', 'CoreVideo', 'CoreMotion', 'CFNetwork', 'CoreMedia', 'CoreText', 'CoreGraphics', 'GameController', 'JavaScriptCore', 'Metal', 'MetalKit', 'MetalPerformanceShaders', 'OpenAL', 'OpenGLES', 'QuartzCore', 'SystemConfiguration', 'Security', 'UIKit', 'WebKit'
|
s.frameworks = 'AudioToolbox', 'AVFoundation', 'AVKit', 'CoreVideo', 'CoreMotion', 'CFNetwork', 'CoreMedia', 'CoreText', 'CoreGraphics', 'GameController', 'JavaScriptCore', 'Metal', 'MetalKit', 'MetalPerformanceShaders', 'OpenAL', 'OpenGLES', 'QuartzCore', 'SystemConfiguration', 'Security', 'UIKit', 'WebKit'
|
||||||
s.library = 'sqlite3', "iconv", "z"
|
s.library = "z","sqlite3","iconv"
|
||||||
|
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
|
||||||
|
|
||||||
|
s.pod_target_xcconfig = {
|
||||||
|
'OTHER_LDFLAGS' => '$(inherited) -Wl,-ld_classic,-no_platform_version',
|
||||||
|
'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64',
|
||||||
|
'VALID_ARCHS' => 'x86_64 armv7 arm64',
|
||||||
|
'ENABLE_BITCODE' => 'NO',
|
||||||
|
'CODE_SIGNING_ALLOWED' => 'NO',
|
||||||
|
'CODE_SIGNING_REQUIRED' => 'NO'
|
||||||
|
}
|
||||||
|
|
||||||
# s.resource_bundles = {
|
# s.resource_bundles = {
|
||||||
# 'cocos_view_pod' => ['cocos_view_pod/Assets/*.png']
|
# 'cocos_view_pod' => ['cocos_view_pod/Assets/*.png']
|
||||||
# }
|
# }
|
||||||
|
|||||||
@@ -7,8 +7,6 @@
|
|||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
#import "platform/ios/AppDelegateBridge.h"
|
|
||||||
|
|
||||||
|
|
||||||
@interface dcocos_bridge : NSObject
|
@interface dcocos_bridge : NSObject
|
||||||
+ (dcocos_bridge *)instance;
|
+ (dcocos_bridge *)instance;
|
||||||
@@ -24,5 +22,5 @@
|
|||||||
- (float)getCocosPixelRatio;
|
- (float)getCocosPixelRatio;
|
||||||
|
|
||||||
+ (void)callS:(NSString *)funcName args:(NSString *)args;
|
+ (void)callS:(NSString *)funcName args:(NSString *)args;
|
||||||
@property(nonatomic, readonly) AppDelegateBridge *appDelegateBridge;
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user