関連するかも情報 |
RT @chibiokoge_bot: 炒めるよ!
▲,,∧ (`・ω・) 。・゚・⌒) / o━ヽニニフ)) しーJ ボォォ-ッ! ^ 、 ▲,,∧^ ` ノ) 人 ,` ( ;゚д゚) ( (炎) ) / o━ヽニニフ)) しーJ
ショボーン ▲,,∧ プスプス‥ (´・ω・) ξ ξ c(,U_U ・∵∵∴ ━ヽニニフ
[t] 2020-11-03 18:25:03
|
- (NSURLRequest *)URLRequestWithMethod:(NSString *)method URL:(NSString *)URLString parameters:(nullable NSDictionary *)parameters error:(NSError **)error
TWTRAPIClient Class Reference https://docs.fabric.io/appledocs/Twitter/Classes/TWTRAPIClient.html
[t] 2020-11-03 18:25:56
|
"New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability."
iOS13よりUIWebViewを使用したアプリが「ITMS-90809: Deprecated API Usage」でリジェクトになるので対処してみた | ニートに憧れるプログラム日記 https://program-life.com/1739
[t] 2020-11-03 18:34:04
|
「UIWebViewが使われているため、今後アップデートできなくなる」 「TwitterKitが位置情報を含むので位置情報を使うセキュリティの設定をしなくてはならなくなった」
最近のiOSのTwitterKit... - Qiita https://qiita.com/nekomimimi/items/5ed56d1c3973b9dc71f7
[t] 2020-11-03 18:35:36
|
UIWebView を削除した TwitterKit らしい。
GitHub - savani24/TwitterKit5 https://github.com/savani24/TwitterKit5
[t] 2020-11-03 18:39:08
|
「iOS10からDeprecatedになっていたUIWebViewの期限が遂に公式から発表されました」
UIWebViewのDeprecated対応期限は既存アプリは2020年12月まで、新規アプリは2020年4月まで https://ryukasublog.com/uiwebview-deprecated/
[t] 2020-11-03 18:40:46
|
"The App Store will no longer accept new apps using UIWebView as of April 2020 and app updates using UIWebView as of December 2020."
Updating Apps that Use Web Views - News - Apple Developer https://developer.apple.com/news/?id=12232019b
[t] 2020-11-03 18:41:11
|
"I created a new pod TwitterKit5, migrated from UIWebView to WKWebView."
IOS removing UIWebView · Issue #120 · twitter-archive/twitter-kit-ios · GitHub https://github.com/twitter-archive/twitter-kit-ios/issues/120
[t] 2020-11-03 18:44:04
|
TwitterKit5 というものを導入してみる。
$ pod install Analyzing dependencies Downloading dependencies Installing TwitterKit5 (5.2.0) Removing TwitterKit Generating Pods project Integrating client project
[t] 2020-11-03 18:47:26
|
TwitterKit のときの lock ファイル。
$ cat Podfile.lock PODS: - TwitterCore (3.2.0) - TwitterKit (3.4.2): - TwitterCore (>= 3.2.0)
DEPENDENCIES: - TwitterKit
SPEC REPOS: trunk: - TwitterCore - TwitterKit
[t] 2020-11-03 18:49:01
|
TwitterKit5 のときの lock ファイル。
$ cat Podfile.lock PODS: - TwitterCore (3.2.0) - TwitterKit5 (5.2.0): - TwitterCore (>= 3.1.0)
DEPENDENCIES: - TwitterKit5
SPEC REPOS: trunk: - TwitterCore - TwitterKit5
[t] 2020-11-03 18:49:21
|
characters.count ではなく count にする。
Xcode9.1で'characters' is deprecated: Please use String or Substring directlyのワーニングが出るようになった - Qiita https://qiita.com/NorsteinBekkler/items/55e7f493cdebe95b1896
[t] 2020-11-03 18:58:01
|
UIApplication.shared.openURL(URL(string: url)!) だと 'openURL' was deprecated in iOS 10.0 と警告が出てしまうので open(URL(string: URL(string: url)!, options: [:], completionHandler: nil) に書き換え。
[t] 2020-11-03 19:07:59
|
「completionHandlerは遷移完了or遷移失敗したタイミングで呼ばれます。引数は遷移が成功したかどうかの結果がBoolで渡されます」
openURLがDeprecatedだったので、新方式に置き換える - しめ鯖日記 https://llcc.hatenablog.com/entry/2017/09/02/175114
[t] 2020-11-03 19:08:24
|
「iOS 10 から UIApplication の openURL: メソッドが Deprecated になりました。代わりに利用することが推奨されたのは openURL:options:completionHandler: というメソッドです」
[iOS 10] UIApplication の openURL: が Deprecated になりました | Developers IO https://dev.classmethod.jp/articles/deprecated-openurl/
[t] 2020-11-03 19:09:23
|
ようやく Xcode の警告が最後の1個になった。あとは Conversion to Swift 5 is available だけ。これは移行に失敗して Convert to Current Swift Syntax Failed になるんだよなぁ・・・
[t] 2020-11-03 19:18:07
|
Please ensure that all selected targets build successfully with the currently configured Swift version before attempting a migration.
なるほど。メニューから Product -> Build For -> Testing で Build Failed になるのでこれが原因かな。
[t] 2020-11-03 19:21:28
|
"Bundle creator OS Type code" の値が "????" になってるっぽい。。。
[t] 2020-11-03 19:40:22
|
「Bundle OS Type code(デフォルト:APPL)」 「バンドルの種類を4文字で表すようです。アプリなので APPL固定で。OS9のなごりのようです」
Info.plistをいじってみる | ゲームクリエイターゆぅの大冒険 今に見てろよ! https://ameblo.jp/yusuke-sharp9th/entry-10750751318.html
[t] 2020-11-03 19:41:00
|
「Bundle OS Type code(CFBundlePackageType)」「バンドルのタイプを示す4文字の識別子で、アプリケーションの場合は『APPL』になります」
Xcodeのプロパティリストエディタ | Second Flush https://secondflush2.blog.fc2.com/blog-entry-131.html
[t] 2020-11-03 19:42:22
|