trustwallet / trust-wallet-ios

:iphone: Trust - Ethereum Wallet and Web3 DApp Browser for iOS
https://trustwallet.com
GNU General Public License v3.0
1.54k stars 718 forks source link

Generate mnemonic words slowly #930

Open 453548460Anders opened 6 years ago

453548460Anders commented 6 years ago

Why do I put framework code into my own projects and generate mnemonic words slowly? -- framework is trustkeystore

manhlx3006 commented 6 years ago

Try to add post_install do |installer| installer.pods_project.targets.each do |target| if ['JSONRPCKit'].include? target.name target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '3.0' end end if ['TrustKeystore'].include? target.name target.build_configurations.each do |config| config.build_settings['SWIFT_OPTIMIZATION_LEVEL'] = '-Owholemodule' end end end end

at end of your Pod file, need to set swift optimization level