Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode Build Failing No podspec found for flutter_incall in .symlinks/plugins/flutter_incall/ios #25

Open
KenanKarav opened this issue Jul 4, 2020 · 5 comments

Comments

@KenanKarav
Copy link

KenanKarav commented Jul 4, 2020

Hi, when i add this plugin to my pubspec.yml flutter_incall: ^1.0.0 and try build the app in Xcode, it fails. Giving me the error:

The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
I run flutter run -v from terminal it fails during the automatic pod install and gives the error:

No podspec found for 'flutter_incall' in '.symlinks/plugins/flutter_incall/ios'

output of flutter doctor -v

`flutter doctor -v
[✓] Flutter (Channel stable, v1.17.3, on Mac OS X 10.15.3 19D76, locale en-US)
• Flutter version 1.17.3 at /Users/kenankarav/flutter
• Framework revision b041144f83 (4 weeks ago), 2020-06-04 09:26:11 -0700
• Engine revision ee76268252
• Dart version 2.8.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/kenankarav/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.5, Build version 11E608c
• CocoaPods version 1.9.3

[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.46.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.12.1

[✓] Connected device (1 available)
• iPhone • fa622b6315a4c944aa475030bf75eb02fa4d87cf • ios • iOS 13.5.1

• No issues found!
`

@jason-shen
Copy link

cd into the ios folder then run pod install

@carlfost
Copy link

I am getting this error even after doing "flutter build ios", "pod install", or "pod update":
Fetching external sources
-> Fetching podspec for flutter_incall from .symlinks/plugins/flutter_incall/ios
[!] No podspec found for flutter_incall in .symlinks/plugins/flutter_incall/ios

Please let me know how to fix it. Thanks.

@carlfost
Copy link

Here is the flutter doctor -v output:
flutter doctor -v
[✓] Flutter (Channel master, 1.22.0-2.0.pre.85, on Mac OS X 10.15.6 19G2021, locale en-US)
• Flutter version 1.22.0-2.0.pre.85 at /Users/carlton/tools/flutter
• Framework revision 68c31d3d09 (4 days ago), 2020-08-26 19:34:03 +0100
• Engine revision 8ebeb03103
• Dart version 2.10.0 (build 2.10.0-59.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/carlton/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.6, Build version 11E708
• CocoaPods version 1.10.0.beta.2

[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 48.1.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.48.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.13.2

[✓] Connected device (1 available)
• Carlton_iPad (mobile) • 879cd1acc9e09aaf29141c36d4d75d8c504901ea • ios • iOS 13.6.1

• No issues found!

@KenanKarav
Copy link
Author

KenanKarav commented Sep 4, 2020

@carlfost I solved this by manually editing s.name in .symlinks/plugins/flutter_incall/ios/flutter_incall.podspec from 'flutter_incall_manager' to 'flutter_incall'.
Pod::Spec.new do |s| s.name = 'flutter_incall' # previously 'flutter_incall_manager'

Seems there was a name change to the package at some point. Maybe an error in the PodFile?

@agrkamal
Copy link

agrkamal commented Feb 6, 2021

@carlfost I solved this by manually editing s.name in .symlinks/plugins/flutter_incall/ios/flutter_incall.podspec from 'flutter_incall_manager' to 'flutter_incall'.
Pod::Spec.new do |s| s.name = 'flutter_incall' # previously 'flutter_incall_manager'

Seems there was a name change to the package at some point. Maybe an error in the PodFile?

Thanks Buddy it helped alot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants