<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>expo - shungo blog</title>
	<atom:link href="https://shungoblog.com/tag/expo/feed" rel="self" type="application/rss+xml" />
	<link>https://shungoblog.com</link>
	<description>しゅんごブログ</description>
	<lastBuildDate>Fri, 02 May 2025 11:21:21 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>

<image>
	<url>https://shungoblog.com/wp-content/uploads/2022/04/cropped-IMG_0718-32x32.jpg</url>
	<title>expo - shungo blog</title>
	<link>https://shungoblog.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>
<atom:link rel="hub" href="https://websubhub.com/hub"/>
<atom:link rel="self" href="https://shungoblog.com/tag/expo/feed"/>
	<item>
		<title>【Expo】eas build &#8211;platform iosでRun fastlaneがエラーになる</title>
		<link>https://shungoblog.com/programming/expo-eas-build-platform-ios-fastlane.html</link>
					<comments>https://shungoblog.com/programming/expo-eas-build-platform-ios-fastlane.html#respond</comments>
		
		<dc:creator><![CDATA[しゅんご]]></dc:creator>
		<pubDate>Fri, 28 Apr 2023 05:40:11 +0000</pubDate>
				<category><![CDATA[プログラミング]]></category>
		<category><![CDATA[expo]]></category>
		<category><![CDATA[react-native]]></category>
		<guid isPermaLink="false">https://shungoblog.com/?p=2480</guid>

					<description><![CDATA[<p>&#160; 目次 はじめにエラー内容エラーが発生したときの状況解決方法 (ライブラリのバージョンを更新)原因の特定方法まとめ はじめに React Nativeでアプリを開発している際、Expoを使用してeas bui [&#8230;]</p>
<p>The post <a href="https://shungoblog.com/programming/expo-eas-build-platform-ios-fastlane.html">【Expo】eas build –platform iosでRun fastlaneがエラーになる</a> first appeared on <a href="https://shungoblog.com">shungo blog</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>

  <div id="toc" class="toc tnt-number toc-center tnt-number border-element"><input type="checkbox" class="toc-checkbox" id="toc-checkbox-2" checked><label class="toc-title" for="toc-checkbox-2">目次</label>
    <div class="toc-content">
    <ol class="toc-list open"><li><a href="#toc1" tabindex="0">はじめに</a><ol><li><a href="#toc2" tabindex="0">エラー内容</a></li><li><a href="#toc3" tabindex="0">エラーが発生したときの状況</a></li></ol></li><li><a href="#toc4" tabindex="0">解決方法 (ライブラリのバージョンを更新)</a></li><li><a href="#toc5" tabindex="0">原因の特定方法</a></li><li><a href="#toc6" tabindex="0">まとめ</a></li></ol>
    </div>
  </div>

<h2><span id="toc1">はじめに</span></h2>
<p><span>React Nativeでアプリを開発している際、</span><span>Expoを使用して<code>eas build --platform ios</code>コマンドを実行したところ、</span></p>
<p><span>下記のように</span><span>Run fastlaneがエラーが出る場合がないでしょうか？</span></p>
<p>この記事ではその時の対処法をご紹介します！</p>
<p><img fetchpriority="high" decoding="async" src="https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.26.38-300x152.png" alt="expo" width="589" height="298" class="wp-image-2484 aligncenter" srcset="https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.26.38-300x152.png 300w, https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.26.38-768x388.png 768w, https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.26.38.png 829w" sizes="(max-width: 589px) 100vw, 589px" /></p>
<h3><span id="toc2">エラー内容</span></h3>
<p><span><code>eas build --platform ios</code>を実行したときのエラー文です。</span></p>
<p>Run fastlaneの部分でエラーが発生しているようです。</p>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-plain" data-lang="Plain Text"><code><span>Build failed: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.</span></code></pre>
</div>
<p>&nbsp;</p>
<h3><span id="toc3">エラーが発生したときの状況</span></h3>
<ul>
<li>Expoのバージョンを45 =&gt; 47にアップデートしたときにiosのbuildでエラーが発生した</li>
<li>androidの方はbuildできる</li>
<li>
<div>
<div><span>expo start でアプリは問題なく起動する</span></div>
<div></div>
</div>
</li>
</ul>
<h2><span id="toc4">解決方法 (ライブラリのバージョンを更新)</span></h2>
<div>私のプロジェクトの場合は、</div>
<div class="pr-1 flex-auto min-width-0"><code>@config-plugins/react-native-branch</code>のバージョンを2.0.0 =&gt; 最新の5.0.0にアップデートすることで解決しました！</div>
<div></div>
<div>下記は最新のバージョンに更新するときの実行コマンドです。</div>
<div>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-plain" data-lang="Plain Text">% expo install @config-plugins/react-native-branch</pre>
</div>
</div>
<p>&nbsp;</p>
<h2><span id="toc5">原因の特定方法</span></h2>
<p>ExpoにログインしてiOS App Store buildの画面を開きます。</p>
<p>下の方にRun fastlaneの項目があるのでクリックして詳細を開きます。</p>
<p><img decoding="async" src="https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.15.41-300x291.png" alt="expo" width="579" height="561" class="alignnone wp-image-2482" srcset="https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.15.41-300x291.png 300w, https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.15.41-768x744.png 768w, https://shungoblog.com/wp-content/uploads/2023/04/スクリーンショット-2023-04-28-11.15.41.png 853w" sizes="(max-width: 579px) 100vw, 579px" /></p>
<p>スクロールして中身を確認すると&#x274c;と表示されてエラーになっている部分があるので付近を確認すると<code>@config-plugins/react-native-branch</code>のライブラリあたりでエラーが出ていることが確認できます。</p>
<div class="hcb_wrap">
<pre class="prism line-numbers lang-plain" data-lang="Plain Text"><code>› Compiling @config-plugins/react-native-branch Pods/ExpoAdapterBranch » BranchAppDelegate.swift

&#x274c;  (node_modules/@config-plugins/react-native-branch/ios/ExpoAdapterBranch/BranchAppDelegate.swift:1:8)

&gt; 1 | import ExpoModulesCore
    |        ^ compiling for iOS 12.0, but module 'ExpoModulesCore' has a minimum deployment target of iOS 13.0: /Users/expo/Library/Developer/Xcode/DerivedData/IT-hfhagyzjhtdmvbfuwgocyplvlpbf/Build/Intermediates.noindex/ArchiveIntermediates/IT/BuildProductsPath/Release-iphoneos/ExpoModulesCore/ExpoModulesCore.swiftmodule/arm64-apple-ios.swiftmodule
  2 | import RNBranch
  3 | 
  4 | public class BranchAppDelegate: ExpoAppDelegateSubscriber {</code></pre>
</div>
<p>そのため、<code>@config-plugins/react-native-branch</code>のバージョンが適切でないと仮定して、ライブラリのバージョンを最新に更新したら、無事にbuildが成功しました！</p>
<p>&nbsp;</p>
<h2><span id="toc6">まとめ</span></h2>
<p>いろいろ記事を検索したり、issueを見たりしてみましたが、自分のプロジェクトに当てはまる解決方法が見つかりませんでした。</p>
<p>しかし、Expoの管理画面で実際のエラー内容をよく見てみると原因となっているライブラリを特定することができました。</p>
<p>&nbsp;</p><p>The post <a href="https://shungoblog.com/programming/expo-eas-build-platform-ios-fastlane.html">【Expo】eas build –platform iosでRun fastlaneがエラーになる</a> first appeared on <a href="https://shungoblog.com">shungo blog</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://shungoblog.com/programming/expo-eas-build-platform-ios-fastlane.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
