This is the problem that is displayed in my screen
*Launching lib/main.dart on iPhone 13 in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: U39MW8579G
Xcode build done. 20.7s
Failed to build iOS app
Error output from Xcode build:
↳
objc[15751]: Class AppleTypeCRetimerRestoreInfoHelper is implemented in both /usr/lib/libauthinstall.dylib (0x21c339eb0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1065c84f8). One of the two will be used. Which one is undefined.
objc[15751]: Class AppleTypeCRetimerFirmwareAggregateRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x21c339f00) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1065c8548). One of the two will be used. Which one is undefined.
objc[15751]: Class AppleTypeCRetimerFirmwareRequestCreator is implemented in both /usr/lib/libauthinstall.dylib (0x21c339f50) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1065c8598). One of the two will be used. Which one is undefined.
objc[15751]: Class ATCRTRestoreInfoFTABFile is implemented in both /usr/lib/libauthinstall.dylib (0x21c339fa0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1065c85e8). One of the two will be used. Which one is undefined.
objc[15751]: Class AppleTypeCRetimerFirmwareCopier is implemented in both /usr/lib/libauthinstall.dylib (0x21c339ff0) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1065c8638). One of the two will be used. Which one is undefined.
objc[15751]: Class ATCRTRestoreInfoFTABSubfile is implemented in both /usr/lib/libauthinstall.dylib (0x21c33a040) and /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1065c8688). One of the two will be used. Which one is undefined.
2022-05-18 00:21:30.270 xcodebuild[15751:144850] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-05-18 00:21:30.271 xcodebuild[15751:144850] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
Xcode's output:
↳
Writing result bundle at path:
/var/folders/3x/qxdf5rsj4c71yp16yqblsc640000gn/T/flutter_tools.k4uQNy/flutter_ios_build_temp_dirSO7Zep/temporary_xcresult_bundle
/Users/sebastiangonzalez/Documents/flutter_setup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0+4/ios/Classes/FlutterLocalNotificationsPlugin.m:515:52: warning: 'cancelLocalNotification:' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter removePendingNotificationRequestsWithIdentifiers:] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] cancelLocalNotification:localNotification];
^
In module 'UIKit' imported from /Users/sebastiangonzalez/Documents/trabajo/dandy_refactor/second/dandy-mobile-app/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:240:1: note: 'cancelLocalNotification:' has been explicitly marked deprecated here
- (void)cancelLocalNotification:(UILocalNotification *)notification API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter removePendingNotificationRequestsWithIdentifiers:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/sebastiangonzalez/Documents/flutter_setup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0+4/ios/Classes/FlutterLocalNotificationsPlugin.m:529:44: warning: 'cancelAllLocalNotifications' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenter removeAllPendingNotificationRequests] [-Wdeprecated-declarations]
[[UIApplication sharedApplication] cancelAllLocalNotifications];
^
In module 'UIKit' imported from /Users/sebastiangonzalez/Documents/trabajo/dandy_refactor/second/dandy-mobile-app/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:241:1: note: 'cancelAllLocalNotifications' has been explicitly marked deprecated here
- (void)cancelAllLocalNotifications API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenter removeAllPendingNotificationRequests]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos);
^
/Users/sebastiangonzalez/Documents/flutter_setup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0+4/ios/Classes/FlutterLocalNotificationsPlugin.m:741:9: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification *launchNotification = (UILocalNotification *)[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/sebastiangonzalez/Documents/trabajo/dandy_refactor/second/dandy-mobile-app/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
#interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/sebastiangonzalez/Documents/flutter_setup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0+4/ios/Classes/FlutterLocalNotificationsPlugin.m:741:52: warning: 'UILocalNotification' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's UNNotificationRequest [-Wdeprecated-declarations]
UILocalNotification *launchNotification = (UILocalNotification *)[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/sebastiangonzalez/Documents/trabajo/dandy_refactor/second/dandy-mobile-app/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h:18:12: note: 'UILocalNotification' has been explicitly marked deprecated here
#interface UILocalNotification : NSObject<NSCopying, NSCoding>
^
/Users/sebastiangonzalez/Documents/flutter_setup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0+4/ios/Classes/FlutterLocalNotificationsPlugin.m:741:102: warning: 'UIApplicationLaunchOptionsLocalNotificationKey' is deprecated: first deprecated in iOS 10.0 - Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:] [-Wdeprecated-declarations]
UILocalNotification *launchNotification = (UILocalNotification *)[launchOptions objectForKey:UIApplicationLaunchOptionsLocalNotificationKey];
^
In module 'UIKit' imported from /Users/sebastiangonzalez/Documents/trabajo/dandy_refactor/second/dandy-mobile-app/ios/Pods/Target Support Files/flutter_local_notifications/flutter_local_notifications-prefix.pch:2:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:513:50: note: 'UIApplicationLaunchOptionsLocalNotificationKey' has been explicitly marked deprecated here
UIKIT_EXTERN UIApplicationLaunchOptionsKey const UIApplicationLaunchOptionsLocalNotificationKey NS_SWIFT_NAME(localNotification) API_DEPRECATED("Use UserNotifications Framework's -[UNUserNotificationCenterDelegate didReceiveNotificationResponse:withCompletionHandler:]", ios(4.0, 10.0)) API_UNAVAILABLE(tvos); // userInfo contains a UILocalNotification
^
/Users/sebastiangonzalez/Documents/flutter_setup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0+4/ios/Classes/FlutterLocalNotificationsPlugin.m:751:1: warning: implementing deprecated method [-Wdeprecated-implementations]
- (void)application:(UIApplication*)application
^
In module 'Flutter' imported from /Users/sebastiangonzalez/Documents/flutter_setup/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_local_notifications-5.0.0+4/ios/Classes/FlutterLocalNotificationsPlugin.h:1:
/Users/sebastiangonzalez/Documents/flutter_setup/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Headers/FlutterPlugin.h:104:1: note: method 'application:didReceiveLocalNotification:' declared here
- (void)application:(UIApplication*)application
^
35 warnings generated.
: Error: Expected a String, but got 'UIKit'.
import UIKit
^^^^^
: Error: Expected ';' after this.
import UIKit
^^^^^^
: Error: Expected an identifier, but got 'import'.
Try inserting an identifier before 'import'.
import Flutter
^^^^^^
: Error: Expected ';' after this.
import UIKit
^^^^^
: Error: Directives must appear before any declarations.
Try moving the directive before any declarations.
import Flutter
^^^^^^
: Error: Expected a String, but got 'Flutter'.
import Flutter
^^^^^^^
: Error: Expected ';' after this.
import Flutter
^^^^^^
: Error: Variables must be declared using the keywords 'const', 'final', 'var' or a type name.
Try adding the name of the type of the variable or the keyword 'var'.
import Flutter
^^^^^^^
: Error: Expected ';' after this.
import Flutter
^^^^^^^
: Error: A class declaration must have a body, even if it is empty.
Try adding an empty body.
#objc class AppDelegate: FlutterAppDelegate {
^^^^^^^^^^^
: Error: Expected a declaration, but got ':'.
#objc class AppDelegate: FlutterAppDelegate {
^
: Error: A function declaration needs an explicit list of parameters.
Try adding a parameter list to the function declaration.
#objc class AppDelegate: FlutterAppDelegate {
^^^^^^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
MethodChannel methodChannel =
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
MethodChannel methodChannel =
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
MethodChannel methodChannel =
^^^^^^^^^^^^^
: Error: Type 'UIKit' not found.
import UIKit
^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel navigation = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel platform = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel textInput = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: Type 'BasicMessageChannel' not found.
static const BasicMessageChannel<Object?> keyEvent = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: Expected 0 type arguments.
static const BasicMessageChannel<Object?> keyEvent = BasicMessageChannel<Object?>(
^
: Error: Type 'BasicMessageChannel' not found.
static const BasicMessageChannel<String?> lifecycle = BasicMessageChannel<String?>(
^^^^^^^^^^^^^^^^^^^
: Error: Expected 0 type arguments.
static const BasicMessageChannel<String?> lifecycle = BasicMessageChannel<String?>(
^
: Error: Type 'BasicMessageChannel' not found.
static const BasicMessageChannel<Object?> system = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: Expected 0 type arguments.
static const BasicMessageChannel<Object?> system = BasicMessageChannel<Object?>(
^
: Error: Type 'BasicMessageChannel' not found.
static const BasicMessageChannel<Object?> accessibility = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: Expected 0 type arguments.
static const BasicMessageChannel<Object?> accessibility = BasicMessageChannel<Object?>(
^
: Error: Type 'MethodChannel' not found.
static const MethodChannel platform_views = MethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel skia = MethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel mouseCursor = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel restoration = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel deferredComponent = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static const MethodChannel localization = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
static void setChannel(MethodChannel newChannel) {
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
late MethodChannel _channel;
^^^^^^^^^^^^^
: Error: Type 'MethodChannel' not found.
MethodChannel methodChannel =
^^^^^^^^^^^^^
: Error: Undefined name 'UIApplicationMain'.
#UIApplicationMain
^^^^^^^^^^^^^^^^^
: Error: This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.
#UIApplicationMain
^
: Error: Undefined name 'objc'.
#objc class AppDelegate: FlutterAppDelegate {
^^^^
: Error: This can't be used as an annotation; an annotation should be a reference to a compile-time constant variable, or a call to a constant constructor.
#objc class AppDelegate: FlutterAppDelegate {
^
: Error: Method not found: 'OptionalMethodChannel'.
static const MethodChannel navigation = OptionalMethodChannel(
^^^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'OptionalMethodChannel'.
static const MethodChannel platform = OptionalMethodChannel(
^^^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'OptionalMethodChannel'.
static const MethodChannel textInput = OptionalMethodChannel(
^^^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'BasicMessageChannel'.
static const BasicMessageChannel<Object?> keyEvent = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'BasicMessageChannel'.
static const BasicMessageChannel<String?> lifecycle = BasicMessageChannel<String?>(
^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'BasicMessageChannel'.
static const BasicMessageChannel<Object?> system = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'BasicMessageChannel'.
static const BasicMessageChannel<Object?> accessibility = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'MethodChannel'.
static const MethodChannel platform_views = MethodChannel(
^^^^^^^^^^^^^
: Error: Method not found: 'MethodChannel'.
static const MethodChannel skia = MethodChannel(
^^^^^^^^^^^^^
: Error: Method not found: 'OptionalMethodChannel'.
static const MethodChannel mouseCursor = OptionalMethodChannel(
^^^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'OptionalMethodChannel'.
static const MethodChannel restoration = OptionalMethodChannel(
^^^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'OptionalMethodChannel'.
static const MethodChannel deferredComponent = OptionalMethodChannel(
^^^^^^^^^^^^^^^^^^^^^
: Error: Method not found: 'OptionalMethodChannel'.
static const MethodChannel localization = OptionalMethodChannel(
^^^^^^^^^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
MethodChannel methodChannel =
^^^^^^^^^^^^^
: Error: Couldn't find constructor 'MethodChannel'.
const MethodChannel('plugins.flutter.io/path_provider_android');
^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
MethodChannel methodChannel =
^^^^^^^^^^^^^
: Error: Couldn't find constructor 'MethodChannel'.
const MethodChannel('plugins.flutter.io/path_provider_ios');
^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
MethodChannel methodChannel =
^^^^^^^^^^^^^
: Error: Couldn't find constructor 'MethodChannel'.
const MethodChannel('plugins.flutter.io/path_provider_macos');
^^^^^^^^^^^^^
: Error: 'override' isn't a type.
override func application(
^^^^^^^^
: Error: Expected ';' after this.
override func application(
^^^^
: Error: Expected ',' before this.
_ application: UIApplication,
^^^^^^^^^^^
: Error: Undefined name 'UIApplication'.
_ application: UIApplication,
^^^^^^^^^^^^^
: Error: Expected ',' before this.
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
^^^^^^^^^^^^^
: Error: Undefined name 'UIApplication'.
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
^^^^^^^^^^^^^
: Error: Expected ']' before this.
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
^
: Error: Expected an identifier, but got ')'.
Try inserting an identifier before ')'.
) -> Bool {
^
: Error: Expected ':' before this.
) -> Bool {
^
: Error: Undefined name '_'.
_ application: UIApplication,
^
: Error: Undefined name 'didFinishLaunchingWithOptions'.
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: Error: Expected named argument.
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
^
: Error: Method not found: 'application'.
override func application(
^^^^^^^^^^^
: Error: Expected an identifier, but got '>'.
Try inserting an identifier before '>'.
) -> Bool {
^
: Error: Undefined name 'Bool'.
) -> Bool {
^^^^
: Error: Expected ';' after this.
) -> Bool {
^^^^
: Error: 'with' can't be used as an identifier because it's a keyword.
Try renaming this to be an identifier that isn't a keyword.
GeneratedPluginRegistrant.register(with: self)
^^^^
: Error: Undefined name 'self'.
GeneratedPluginRegistrant.register(with: self)
^^^^
: Error: Undefined name 'GeneratedPluginRegistrant'.
GeneratedPluginRegistrant.register(with: self)
^^^^^^^^^^^^^^^^^^^^^^^^^
: Error: Expected ';' after this.
GeneratedPluginRegistrant.register(with: self)
^
^^^^^^^^^^^
: Error: Expected identifier, but got 'super'.
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
^^^^^
: Error: Expected ';' after this.
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
^
: Error: 'MethodChannel' isn't a type.
static const MethodChannel navigation = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
static const MethodChannel platform = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
static const MethodChannel textInput = OptionalMethodChannel(
^^^^^^^^^^^^^
: Error: 'BasicMessageChannel' isn't a type.
static const BasicMessageChannel<Object?> keyEvent = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: 'BasicMessageChannel' isn't a type.
static const BasicMessageChannel<String?> lifecycle = BasicMessageChannel<String?>(
^^^^^^^^^^^^^^^^^^^
: Error: 'BasicMessageChannel' isn't a type.
static const BasicMessageChannel<Object?> system = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: 'BasicMessageChannel' isn't a type.
static const BasicMessageChannel<Object?> accessibility = BasicMessageChannel<Object?>(
^^^^^^^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
static const MethodChannel platform_views = MethodChannel(
^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
static const MethodChannel skia = MethodChannel(
^^^^^^^^^^^^^
: Error: 'MethodChannel' isn't a type.
static const MethodChannel mouseCursor = OptionalMethodChannel(
^^^^^^^^^^^^^
MethodChannel('flutter/service_worker');
^^^^^^^^^^^^^
: Error: Method not found: 'MethodChannel'.
const MethodChannel methodChannel = MethodChannel('flutter/service_worker');
^^^^^^^^^^^^^
Failed to package /Users/sebastiangonzalez/Documents/trabajo/dandy_refactor/second/dandy-mobile-app.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in dependency order
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/firebase_messaging/firebase_messaging.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/flutter_local_notifications/flutter_local_notifications.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/firebase_analytics/firebase_analytics.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/path_provider_ios/path_provider_ios.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/firebase_core/firebase_core.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/nanopb/nanopb.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/google_maps_flutter/google_maps_flutter.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/Pods_Runner.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport/GoogleAppMeasurementIdentitySupport.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/FirebaseMessaging/FirebaseMessaging.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/FirebaseInstallations/FirebaseInstallations.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport/GoogleAppMeasurement.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport/FirebaseAnalytics.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/PromisesObjC/FBLPromises.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/FirebaseCore/FirebaseCore.framework'
note: Removed stale file '/Users/sebastiangonzalez/Library/Developer/Xcode/DerivedData/Runner-grkmwieiubhlopdwgnkcaggqjvhf/Build/Products/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework'
Result bundle written to path:
/var/folders/3x/qxdf5rsj4c71yp16yqblsc640000gn/T/flutter_tools.k4uQNy/flutter_ios_build_temp_dirSO7Zep/temporary_xcresult_bundle
Could not build the precompiled application for the device.
Error launching application on iPhone 13.
Exited (sigterm)*
I had a project running in flutter. I updated Xcode and this happened. I try what is in this link but nothing work:
https://developer.apple.com/forums/thread/698628
Related
I defined a function as a type named "TestDelegate" in dart, and I used it like below:
typedef TestDelegate = T Function<T>();
TestDelegate delegate = <int>(){
return 1; <== error line
};
It generated a error:
The return type 'int' isn't a 'int', as defined by anonymous closure.
What can I do to fix it?
You have to declare the generic on TestDelegate
typedef TestDelegate<T> = T Function();
void main() {
print('RESULT: ${_delegate()}');
}
TestDelegate<int> _delegate = () {
return 1;
};
Trying to build from cyberduck https://github.com/greenqloud/cyberduck from source i get some errors about azure and rococoa missing dependencies:
How should i proceed for a successful build?
compile:
[javac] /Users/myuser/xcode/cyberduck/build.xml:131: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 605 source files to /Users/myuser/xcode/cyberduck/build/classes
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/AbstractCollectionListener.java
[...]
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/aquaticprime/Receipt.java:35: warning: [deprecation] PKCS7SignedData in org.bouncycastle.jce has been deprecated
[javac] import org.bouncycastle.jce.PKCS7SignedData;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/azure/AzureSession.java:33: error: package org.soyatec.windows.azure.authenticate does not exist
[javac] import org.soyatec.windows.azure.authenticate.IAccessPolicy;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/azure/AzureSession.java:34: error: package org.soyatec.windows.azure.authenticate does not exist
[javac] import org.soyatec.windows.azure.authenticate.SharedKeyCredentials;
[javac] ^
[...]
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/azure/AzurePath.java:221: error: cannot find symbol
[javac] protected Acl convert(final ContainerAccessControl list) {
[javac] ^
[javac] symbol: class ContainerAccessControl
[javac] location: class AzurePath
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/azure/AzureSession.java:87: error: cannot find symbol
[javac] private BlobStorageRest client;
[javac] ^
[javac] ^
[javac] symbol: class BlobProperties
[javac] location: class AzureSession.AzureContainer
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/azure/AzureSession.java:194: error: cannot find symbol
[javac] throws StorageException {
[javac] ^
[javac] symbol: class StorageException
[javac] location: class AzureSession.AzureContainer
[...]
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSDictionary.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ObjCClass;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSDictionary.java:23: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSUInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ID;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:23: error: package org.rococoa does not exist
[javac] import org.rococoa.Selector;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:24: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSUInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:28: error: package org.rococoa.cocoa.foundation does not exist
[javac] public abstract class NSObject extends org.rococoa.cocoa.foundation.NSObject {
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSDictionary.java:41: error: cannot find symbol
[javac] public interface _Class extends ObjCClass {
[javac] ^
[javac] symbol: class ObjCClass
[javac] location: class NSDictionary
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ObjCClass;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:23: error: package org.rococoa does not exist
[javac] import org.rococoa.Rococoa;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:24: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSUInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSURL.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ObjCClass;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSURL.java:23: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSNumber;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSDictionary.java:95: error: cannot find symbol
[javac] public abstract NSUInteger count();
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSDictionary
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSDictionary.java:194: error: cannot find symbol
[javac] public abstract NSDictionary initWithObjects_forKeys_count(NSObject objects, NSObject keys, NSUInteger cnt);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSDictionary
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:30: error: cannot find symbol
[javac] public abstract boolean respondsToSelector(Selector sel);
[javac] ^
[javac] symbol: class Selector
[javac] location: class NSObject
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:32: error: cannot find symbol
[javac] public abstract NSObject performSelector(Selector sel);
[javac] ^
[javac] symbol: class Selector
[javac] location: class NSObject
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:34: error: cannot find symbol
[javac] public abstract NSUInteger hash();
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSObject
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSObject.java:36: error: cannot find symbol
[javac] public abstract boolean isEqual(ID anObject);
[javac] ^
[javac] symbol: class ID
[javac] location: class NSObject
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSDictionary.java:58: error: cannot find symbol
[javac] NSDictionary dictionaryWithObjects_forKeys_count(NSObject objects, NSObject keys, NSUInteger cnt);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: interface _Class
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:58: error: cannot find symbol
[javac] public interface _Class extends ObjCClass {
[javac] ^
[javac] symbol: class ObjCClass
[javac] location: class NSArray
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:112: error: cannot find symbol
[javac] public abstract NSUInteger count();
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSArray
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:118: error: cannot find symbol
[javac] public abstract NSObject objectAtIndex(NSUInteger index);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSArray
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:171: error: cannot find symbol
[javac] public abstract NSUInteger indexOfObject(NSObject anObject);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSArray
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:181: error: cannot find symbol
[javac] public abstract NSUInteger indexOfObjectIdenticalTo(NSObject anObject);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSArray
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSData.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ObjCClass;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSData.java:23: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSUInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ObjCClass;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:23: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:24: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSUInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:267: error: cannot find symbol
[javac] public abstract NSArray initWithObjects_count(com.sun.jna.ptr.PointerByReference objects, NSUInteger cnt);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSArray
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSURL.java:37: error: cannot find symbol
[javac] public interface _Class extends ObjCClass {
[javac] ^
[javac] symbol: class ObjCClass
[javac] location: class NSURL
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSNumber.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ObjCClass;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSNumber.java:23: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSNumber.java:24: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSUInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSValue.java:22: error: package org.rococoa does not exist
[javac] import org.rococoa.ObjCClass;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSValue.java:23: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSSize;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSArray.java:77: error: cannot find symbol
[javac] NSArray arrayWithObjects_count(NSObject objects, NSUInteger cnt);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: interface _Class
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSData.java:33: error: cannot find symbol
[javac] public interface _Class extends ObjCClass {
[javac] ^
[javac] symbol: class ObjCClass
[javac] location: class NSData
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSData.java:99: error: cannot find symbol
[javac] public abstract NSUInteger length();
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSData
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSData.java:123: error: cannot find symbol
[javac] public abstract void getBytes_length(com.sun.jna.Pointer buffer, NSUInteger length);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSData
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSData.java:176: error: cannot find symbol
[javac] public abstract NSData initWithBytes_length(com.sun.jna.Pointer bytes, NSUInteger length);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSData
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSData.java:188: error: cannot find symbol
[javac] public abstract NSData initWithBytesNoCopy_length_freeWhenDone(com.sun.jna.Pointer bytes, NSUInteger length, byte b);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSData
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:45: error: cannot find symbol
[javac] public interface _Class extends ObjCClass {
[javac] ^
[javac] symbol: class ObjCClass
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:32: error: cannot find symbol
[javac] public static NSIndexSet indexSetWithIndex(NSInteger value) {
[javac] ^
[javac] symbol: class NSInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSRange.java:22: error: package org.rococoa.cocoa does not exist
[javac] import org.rococoa.cocoa.CFIndex;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSRange.java:23: error: package org.rococoa.cocoa does not exist
[javac] import org.rococoa.cocoa.CFRange;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSRange.java:24: error: package org.rococoa.cocoa.foundation does not exist
[javac] import org.rococoa.cocoa.foundation.NSUInteger;
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSRange.java:26: error: cannot find symbol
[javac] public class NSRange extends CFRange {
[javac] ^
[javac] symbol: class CFRange
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:43: error: cannot find symbol
[javac] public static final NSUInteger NSNotFound = new NSUInteger(Native.LONG_SIZE == 4 ? Integer.MAX_VALUE : Long.MAX_VALUE);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:76: error: cannot find symbol
[javac] public abstract NSIndexSet initWithIndex(NSUInteger value);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:100: error: cannot find symbol
[javac] public abstract NSUInteger count();
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:107: error: cannot find symbol
[javac] public abstract NSUInteger firstIndex();
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:113: error: cannot find symbol
[javac] public abstract NSUInteger lastIndex();
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:119: error: cannot find symbol
[javac] public abstract NSUInteger indexGreaterThanIndex(NSUInteger value);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:119: error: cannot find symbol
[javac] public abstract NSUInteger indexGreaterThanIndex(NSUInteger value);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:125: error: cannot find symbol
[javac] public abstract NSUInteger indexLessThanIndex(NSUInteger value);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:125: error: cannot find symbol
[javac] public abstract NSUInteger indexLessThanIndex(NSUInteger value);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/ui/cocoa/foundation/NSIndexSet.java:131: error: cannot find symbol
[javac] public abstract NSUInteger indexGreaterThanOrEqualToIndex(NSUInteger value);
[javac] ^
[javac] symbol: class NSUInteger
[javac] location: class NSIndexSet
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/Session.java:125: warning: ValidatorException is internal proprietary API and may be removed in a future release
[javac] if(e.getCause() instanceof sun.security.validator.ValidatorException) {
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/http/HTTP3Session.java:118: warning: [deprecation] Protocol(String,SecureProtocolSocketFactory,int) in Protocol has been deprecated
[javac] new org.apache.commons.httpclient.protocol.Protocol(host.getProtocol().getScheme(),
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/aquaticprime/Receipt.java:118: warning: [deprecation] PKCS7SignedData in org.bouncycastle.jce has been deprecated
[javac] PKCS7SignedData signature = new PKCS7SignedData(IOUtils.toByteArray(new FileInputStream(
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/aquaticprime/Receipt.java:118: warning: [deprecation] PKCS7SignedData in org.bouncycastle.jce has been deprecated
[javac] PKCS7SignedData signature = new PKCS7SignedData(IOUtils.toByteArray(new FileInputStream(
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/azure/AzurePath.java:528: warning: [deprecation] consumeContent() in AbstractHttpEntity has been deprecated
[javac] public void consumeContent() throws IOException {
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/cf/CFPath.java:411: warning: [deprecation] consumeContent() in AbstractHttpEntity has been deprecated
[javac] public void consumeContent() throws IOException {
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/dav/DAVSession.java:224: warning: [deprecation] getReasonCode() in HttpException has been deprecated
[javac] if(e.getReasonCode() == HttpStatus.SC_UNAUTHORIZED) {
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/dav/DAVSession.java:270: warning: [deprecation] getReasonCode() in HttpException has been deprecated
[javac] String status = HttpStatus.getStatusText(((HttpException) e).getReasonCode());
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/dav/DAVResource.java:64: warning: [deprecation] setCredentials(String,String,Credentials) in HttpState has been deprecated
[javac] client.getState().setCredentials(null, httpURL.getHost(), hostCredentials);
[javac] ^
[javac] /Users/myuser/xcode/cyberduck/source/ch/cyberduck/core/dav/DAVResource.java:170: warning: [deprecation] setUseExpectHeader(boolean) in ExpectContinueMethod has been deprecated
[javac] method.setUseExpectHeader(true);
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 100 errors
[javac] 11 warnings
BUILD FAILED
/Users/myuser/xcode/cyberduck/build.xml:131: Compile failed; see the compiler error output for details.
Total time: 6 seconds
The official source repository is at svn.cyberduck.io.
I have fair enough knowledge of Xamarin iOS but I am naive to Monotouch Bindings.
I need to use Aviary SDK in my project and I understood by reading through that I need to follow below steps:
Create a Static project in Xcode, linking the Aviary SDK.
Create a Fat Binary file
Create a Binding Project in Xamarin
Add ApiDefinition.cs and StructsAndEnums.cs
Add static library (the fat binary) in Binding Project
And so on.
But the problem is, I am stuck at the very initial step.
I followed this Setup Guide but the issue is, thought I followed the steps, while Importing, I get this error:
AviarySDK/AviarySDK.h file not found
I have downloaded the AviarySDK 4.0.1 which I downloaded from here.
EDIT
Thank you Jonathan Peppers, I have followed your steps, but for ApiDefinition.cs, as per the steps in followed from I understood that I need to generate the ApiDefinition.cs from Objective Sharpie, but I get this error.
Can you help me on this?
In file included from /Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:8:
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:17:8: error: unknown type name 'NSString'
static NSString *const kAFProductEffectsGrunge = #"com.aviary.effectpack.01";
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:22:8: error: unknown type name 'NSString'
static NSString *const kAFProductEffectsNostalgia = #"com.aviary.effectpack.02";
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:27:8: error: unknown type name 'NSString'
static NSString *const kAFProductEffectsViewfinder = #"com.aviary.effectpack.03";
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:37:35: error: cannot find interface declaration for 'NSObject', superclass of 'AFPhotoEditorProduct'
#interface AFPhotoEditorProduct : NSObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:44:39: error: unknown type name 'NSString'
#property (nonatomic, copy, readonly) NSString *productName;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:44:1: error: property with 'copy' attribute must be of object type
#property (nonatomic, copy, readonly) NSString *productName;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:52:39: error: unknown type name 'NSString'
#property (nonatomic, copy, readonly) NSString *productDescription;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:52:1: error: property with 'copy' attribute must be of object type
#property (nonatomic, copy, readonly) NSString *productDescription;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:64:39: error: unknown type name 'NSString'
#property (nonatomic, copy, readonly) NSString *internalProductIdentifier;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:64:1: error: property with 'copy' attribute must be of object type
#property (nonatomic, copy, readonly) NSString *internalProductIdentifier;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:16:8: error: unknown type name 'NSString'
extern NSString *const kAFPhotoEditorEffectsIAPEnabledKey;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:21:43: error: cannot find protocol declaration for 'NSObject'
#protocol AFInAppPurchaseManagerDelegate <NSObject>
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:40:4: error: expected a type
- (NSString *)inAppPurchaseManager:(id<AFInAppPurchaseManager>)manager productIdentifierForProduct:(AFPhotoEditorProduct *)product DEPRECATED_ATTRIBUTE;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:40:152: error: expected ':'
- (NSString *)inAppPurchaseManager:(id<AFInAppPurchaseManager>)manager productIdentifierForProduct:(AFPhotoEditorProduct *)product DEPRECATED_ATTRIBUTE;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:51:35: error: cannot find protocol declaration for 'NSObject'
#protocol AFInAppPurchaseManager <NSObject>
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:62:72: error: expected ';' at end of declaration list
#property (nonatomic, weak) id<AFInAppPurchaseManagerDelegate> delegate DEPRECATED_ATTRIBUTE;
^
;
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:62:73: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
#property (nonatomic, weak) id<AFInAppPurchaseManagerDelegate> delegate DEPRECATED_ATTRIBUTE;
^~~~~~~~~~~~~~~~~~~~
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:70:73: error: unknown type name 'BOOL'
#property (nonatomic, assign, readonly, getter=isObservingTransactions) BOOL observingTransactions;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h:62:73: error: cannot declare variable inside #interface or #protocol
#property (nonatomic, weak) id<AFInAppPurchaseManagerDelegate> delegate DEPRECATED_ATTRIBUTE;
^
1 warning and 18 errors generated.
Error while processing /Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFInAppPurchaseManager.h.
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFOpenGLManager.h:28:30: error: cannot find interface declaration for 'NSObject', superclass of 'AFOpenGLManager'
#interface AFOpenGLManager : NSObject
~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFOpenGLManager.h:34:40: error: expected a type
+ (void)setPurgeGPUMemoryWhenPossible:(BOOL)purgeGPUMemory;
^
2 errors generated.
Error while processing /Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFOpenGLManager.h.
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorContext.h:39:35: error: cannot find interface declaration for 'NSObject', superclass of 'AFPhotoEditorContext'
#interface AFPhotoEditorContext : NSObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorContext.h:45:41: error: unknown type name 'CGSize'
#property (nonatomic, assign, readonly) CGSize size;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorContext.h:48:60: error: unknown type name 'BOOL'
#property (nonatomic, assign, readonly, getter=isCanceled) BOOL canceled;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorContext.h:51:60: error: unknown type name 'BOOL'
#property (nonatomic, assign, readonly, getter=isModified) BOOL modified;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorContext.h:58:41: error: unknown type name 'BOOL'
#property (nonatomic, assign, readonly) BOOL hasBegunRendering;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorContext.h:75:26: error: unknown type name 'UIImage'
- (void)render:(void (^)(UIImage *result))completion;
^
6 errors generated.
Error while processing /Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorContext.h.
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:14:8: error: unknown type name 'NSString'
extern NSString *const kAFEnhance; /* Enhance */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:15:8: error: unknown type name 'NSString'
extern NSString *const kAFEffects; /* Effects */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:16:8: error: unknown type name 'NSString'
extern NSString *const kAFStickers; /* Stickers */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:17:8: error: unknown type name 'NSString'
extern NSString *const kAFOrientation; /* Orientation */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:18:8: error: unknown type name 'NSString'
extern NSString *const kAFCrop; /* Crop */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:19:8: error: unknown type name 'NSString'
extern NSString *const kAFAdjustments; /* Adjustments */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:20:8: error: unknown type name 'NSString'
extern NSString *const kAFSharpness; /* Sharpness */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:21:8: error: unknown type name 'NSString'
extern NSString *const kAFDraw; /* Draw */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:22:8: error: unknown type name 'NSString'
extern NSString *const kAFText; /* Text */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:23:8: error: unknown type name 'NSString'
extern NSString *const kAFRedeye; /* Redeye */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:24:8: error: unknown type name 'NSString'
extern NSString *const kAFWhiten; /* Whiten */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:25:8: error: unknown type name 'NSString'
extern NSString *const kAFBlemish; /* Blemish */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:26:8: error: unknown type name 'NSString'
extern NSString *const kAFMeme; /* Meme */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:27:8: error: unknown type name 'NSString'
extern NSString *const kAFFrames; /* Frames */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:28:8: error: unknown type name 'NSString'
extern NSString *const kAFFocus; /* TiltShift */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:29:8: error: unknown type name 'NSString'
extern NSString *const kAFSplash; /* ColorSplash */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:31:8: error: unknown type name 'NSString'
extern NSString *const kAFLeftNavigationTitlePresetCancel; /* Cancel */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:32:8: error: unknown type name 'NSString'
extern NSString *const kAFLeftNavigationTitlePresetBack; /* Back */
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h:33:8: error: unknown type name 'NSString'
extern NSString *const kAFLeftNavigationTitlePresetExit; /* Exit */
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
Error while processing /Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorCustomization.h.
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:17:8: error: unknown type name 'NSString'
static NSString *const kAFProductEffectsGrunge = #"com.aviary.effectpack.01";
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:22:8: error: unknown type name 'NSString'
static NSString *const kAFProductEffectsNostalgia = #"com.aviary.effectpack.02";
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:27:8: error: unknown type name 'NSString'
static NSString *const kAFProductEffectsViewfinder = #"com.aviary.effectpack.03";
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:37:35: error: cannot find interface declaration for 'NSObject', superclass of 'AFPhotoEditorProduct'
#interface AFPhotoEditorProduct : NSObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:44:39: error: unknown type name 'NSString'
#property (nonatomic, copy, readonly) NSString *productName;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:44:1: error: property with 'copy' attribute must be of object type
#property (nonatomic, copy, readonly) NSString *productName;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:52:39: error: unknown type name 'NSString'
#property (nonatomic, copy, readonly) NSString *productDescription;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:52:1: error: property with 'copy' attribute must be of object type
#property (nonatomic, copy, readonly) NSString *productDescription;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:64:39: error: unknown type name 'NSString'
#property (nonatomic, copy, readonly) NSString *internalProductIdentifier;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h:64:1: error: property with 'copy' attribute must be of object type
#property (nonatomic, copy, readonly) NSString *internalProductIdentifier;
^
10 errors generated.
Error while processing /Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorProduct.h.
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:10:8: error: unknown type name 'NSString'
extern NSString *const AFPhotoEditorSessionCancelledNotification;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:16:35: error: cannot find interface declaration for 'NSObject', superclass of 'AFPhotoEditorSession'
#interface AFPhotoEditorSession : NSObject
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:22:56: error: unknown type name 'BOOL'
#property (nonatomic, assign, readonly, getter=isOpen) BOOL open;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:27:61: error: unknown type name 'BOOL'
#property (nonatomic, assign, readonly, getter=isCancelled) BOOL cancelled;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:32:60: error: unknown type name 'BOOL'
#property (nonatomic, assign, readonly, getter=isModified) BOOL modified;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:44:51: error: expected a type
- (AFPhotoEditorContext *)createContextWithImage:(UIImage *)image;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:55:51: error: expected a type
- (AFPhotoEditorContext *)createContextWithImage:(UIImage *)image maxSize:(CGSize)size;
^
/Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h:55:76: error: expected a type
- (AFPhotoEditorContext *)createContextWithImage:(UIImage *)image maxSize:(CGSize)size;
^
8 errors generated.
Error while processing /Users/ramnathiyer/Documents/Projects/Aviary-iOS-SDK/AviarySDK-4.0.1/AviarySDK/AviarySDK.framework/Versions/A/Headers/AFPhotoEditorSession.h.
sharpie-clang-parser exited with error code: 1
System.Exception: sharpie-clang-parser exited with error code: 1
at Sharpie.ObjC.Parser.Parse (System.IO.TextWriter sexpWriter, System.Collections.Generic.List`1 stderrLines) [0x00000] in <filename unknown>:0
at Sharpie.Mac.MainWindowController+<GenerateBinding>c__AnonStorey3.<>m__B (System.Object o) [0x00000] in <filename unknown>:0
If you download the SDK from their website (instead of Github), steps 1 and 2 are already done for you.
In the zip file, there is a AviarySDK.framework folder. This is where Obj-C libraries reside sometimes. The file in Versions/A/AviarySDK needs to be renamed to AviarySDK.a and added to a Xamarin binding project.
You will also need to add all the files in AviarySDKResources.bundle to your project or the library will probably not work correctly.
Just trying to use Orbeon API loaded in eclipse :
After a reconfigure of the build path and defining all the jars dependencies that weren't updated, I 'm finally stuck with this scala classes that are not correctly loaded ?
Any help please ?
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContainingDocument.java:62: error: not found: type XBLContainer
[scalac] public class XFormsContainingDocument extends XBLContainer implements XFormsDocumentLifecycle, Cacheable, XFormsObject {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/resources/ResourceNotFoundException.java:21: error: not found: type OXFException
[scalac] public class ResourceNotFoundException extends OXFException {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/common/PEVersion.scala:57: error: fruitless type test: a value of type Throwable cannot also be a org.orbeon.oxf.resources.ResourceNotFoundException
[scalac] case e: ResourceNotFoundException ?
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/pipeline/api/ExternalContext.java:164: error: not found: type WebAppContext
[scalac] WebAppContext getWebAppContext();
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/processor/ProcessorImpl.java:108: error: not found: type PropertySet
[scalac] protected PropertySet getPropertySet() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/controller/PageFlowControllerProcessor.scala:224: error: type mismatch;
[scalac] found : Any
[scalac] required: String
[scalac] Seq(PageOrServiceElement(None, submissionPath, Pattern.compile(submissionPath), None, submissionModel, None, configRoot, SubmissionPublicMethods, isPage = true))
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/controller/PageFlowControllerProcessor.scala:275: error: could not find implicit value for parameter propertySet: org.orbeon.oxf.properties.PropertySet
[scalac] case page: PageOrServiceElement ? PageOrServiceRoute(page, compile)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/controller/PageFlowControllerProcessor.scala:91: error: fruitless type test: a value of type Throwable cannot also be a org.orbeon.oxf.resources.ResourceNotFoundException
[scalac] case e: ResourceNotFoundException ? e.resource
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/controller/PageFlowControllerProcessor.scala:171: error: fruitless type test: a value of type Throwable cannot also be a org.orbeon.oxf.resources.ResourceNotFoundException
[scalac] case e: ResourceNotFoundException ? if (route.isPage) runNotFoundRoute(Some(t)) else sendNotFound(Some(t))
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/XFormsAPI.scala:219: error: value models is not a member of org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] containingDocument.models find (_.getId == modelId)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContainingDocument.java:591: error: not found: type RequestStats
[scalac] public RequestStats getRequestStats() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/model/DataModel.scala:181: error: value getInstanceForNode is not a member of org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] Option(containingDocument.getInstanceForNode(nodeInfo)) map (_.getEffectiveId)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/model/DataModel.scala:190: error: value getInstanceForNode is not a member of org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] Option(containingDocument.getInstanceForNode(nodeInfo)) match {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/model/DataModel.scala:193: error: value markModified is not a member of Any
[scalac] modifiedInstance.markModified()
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/model/DataModel.scala:194: error: value model is not a member of Any
[scalac] modifiedInstance.model.markValueChange(nodeInfo, isCalculate)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/model/DataModel.scala:197: error: type mismatch;
[scalac] found : Any
[scalac] required: org.orbeon.oxf.xforms.event.XFormsEventTarget
[scalac] Dispatch.dispatchEvent(new XXFormsValueChangedEvent(modifiedInstance, nodeInfo, oldValue, newValue))
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsModel.java:58: error: not found: type XFormsEventObserver
[scalac] public class XFormsModel extends XFormsModelBase implements XFormsEventObserver, XFormsObjectResolver {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsModel.java:210: error: not found: type Model
[scalac] public Model getStaticModel() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/fb/ControlOps.scala:581: error: constructor cannot be instantiated to expected type;
[scalac] found : (T1, T2)
[scalac] required: Nothing
[scalac] controlId ? findControlIdByName(getFormDoc, controlName)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsModel.java:206: error: not found: type XBLContainer
[scalac] public XBLContainer container() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/ControlTree.java:258: error: not found: type XFormsContainerControl
[scalac] public XFormsContainerControl getRoot() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/pipeline/InitUtils.scala:92: error: fruitless type test: a value of type Throwable cannot also be a org.orbeon.oxf.resources.ResourceNotFoundException
[scalac] case e: ResourceNotFoundException ?
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/portlet/Portlet2ExternalContext.java:73: error: not found: type WebAppContext
[scalac] Portlet2ExternalContext(PipelineContext pipelineContext, WebAppContext webAppContext, PortletRequest portletRequest, boolean amendRequest) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/processor/EmailProcessor.scala:74: error: could not find implicit value for parameter propertySet: org.orbeon.oxf.properties.PropertySet
[scalac] valueFromElementOrProperty(messageElement, SMTPHost) getOrElse
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/processor/EmailProcessor.scala:104: error: could not find implicit value for parameter propertySet: org.orbeon.oxf.properties.PropertySet
[scalac] valueFromElementOrProperty(messageElement, Encryption) match {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/processor/EmailProcessor.scala:134: error: could not find implicit value for parameter propertySet: org.orbeon.oxf.properties.PropertySet
[scalac] valueFromElementOrProperty(messageElement, SMTPPort) orElse defaultPort foreach updatePort
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/servlet/ServletExternalContext.java:697: error: not found: type WebAppContext
[scalac] public ServletExternalContext(PipelineContext pipelineContext, WebAppContext webAppContext, HttpServletRequest request, HttpServletResponse response) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/xbl/XBLContainer.scala:76: error: fruitless type test: a value of type org.orbeon.oxf.xforms.xbl.XBLContainer cannot also be a org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] val containingDocument = ancestorsIterator collectFirst { case cd: XFormsContainingDocument ? cd } get
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/BindingContext.scala:166: error: value getInstanceForNode is not a member of org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] { case node: NodeInfo ? model.containingDocument.getInstanceForNode(node) } orNull
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/XFormsInstance.scala:155: error: type mismatch;
[scalac] found : org.orbeon.oxf.xforms.XFormsModel
[scalac] required: org.orbeon.oxf.xforms.event.XFormsEventObserver
[scalac] def parentEventObserver: XFormsEventObserver = model
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/ControlTree.java:280: error: not found: type XFormsControl
[scalac] public Map<String, XFormsControl> getRepeatControls() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/XFormsInstance.scala:223: error: value getEffectiveId is not a member of type parameter B
[scalac] newRepeatControl ? Option(controls.getObjectByEffectiveId(repeatControl.getEffectiveId).asInstanceOf[XFormsRepeatControl])
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsModel.java:65: error: not found: type Model
[scalac] public final Model staticModel;
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/analysis/XFormsExtractorContentHandler.java:138: error: not found: type AnnotatedTemplate
[scalac] AnnotatedTemplate templateUnderConstruction,
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XFormsSetindexAction.scala:62: error: value synchronizeAndRefresh is not a member of org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] interpreter.containingDocument.synchronizeAndRefresh()
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java:405: error: not found: type XFormsObject
[scalac] public XFormsObject resolveObject(Element actionElement, String targetStaticOrAbsoluteId) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsControls.java:430: error: not found: type XFormsControl
[scalac] public XFormsControl getFocusedControl() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsControls.java:434: error: not found: type XFormsControl
[scalac] public void setFocusedControl(XFormsControl focusedControl) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/ControlTree.java:270: error: not found: type XFormsControl
[scalac] public XFormsControl getControl(String effectiveId) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/control/Focus.scala:120: error: value isFocusable is not a member of Any
[scalac] case Some(newReference) if ! newReference.isFocusable ?
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/control/Focus.scala:124: error: value ne is not a member of Any
[scalac] case Some(newReference) if newReference ne focusedBefore ?
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/control/Focus.scala:129: error: type mismatch;
[scalac] found : Any
[scalac] required: org.orbeon.oxf.xforms.control.XFormsControl
[scalac] onFocus(newReference)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/XFormsAPI.scala:99: error: value >= is not a member of Nothing
[scalac] { case newIndex if newIndex >= 0 ? newIndex }
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java:80: error: not found: type XBLContainer
[scalac] public XBLContainer container() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/submission/XFormsModelSubmission.java:65: error: not found: type XFormsEventTarget
[scalac] public class XFormsModelSubmission extends XFormsModelSubmissionBase implements XFormsEventTarget, XFormsEventObserver {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/submission/XFormsModelSubmission.java:65: error: not found: type XFormsEventObserver
[scalac] public class XFormsModelSubmission extends XFormsModelSubmissionBase implements XFormsEventTarget, XFormsEventObserver {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/XFormsAPI.scala:269: error: type mismatch;
[scalac] found : org.orbeon.oxf.xforms.submission.XFormsModelSubmission
[scalac] required: org.orbeon.oxf.xforms.event.XFormsEventTarget
[scalac] try Dispatch.dispatchEvent(new XFormsSubmitEvent(submission, properties))
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/control/controls/XFormsCaseControl.java:23: error: not found: type XFormsNoSingleNodeContainerControl
[scalac] public class XFormsCaseControl extends XFormsNoSingleNodeContainerControl {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/control/controls/XXFormsDialogControl.java:31: error: not found: type XFormsNoSingleNodeContainerControl
[scalac] public class XXFormsDialogControl extends XFormsNoSingleNodeContainerControl {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XXFormsShowAction.scala:51: error: type mismatch;
[scalac] found : org.orbeon.oxf.xforms.control.controls.XXFormsDialogControl
[scalac] required: org.orbeon.oxf.xforms.event.XFormsEventTarget
[scalac] val newEvent = new XXFormsDialogOpenEvent(properties, targetDialog, neighborEffectiveId.orNull, constrainToViewport)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/XFormsAction.scala:96: error: value synchronizeAndRefresh is not a member of org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] context.containingDocument.synchronizeAndRefresh()
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java:445: error: not found: type Scope
[scalac] public Scope getActionScope(Element actionElement) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContextStack.java:267: error: not found: type Scope
[scalac] Element bindingElement, NamespaceMapping bindingElementNamespaceMapping, String sourceEffectiveId, Scope scope, boolean handleNonFatal) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContextStack.java:244: error: not found: type Scope
[scalac] public void pushBinding(Element bindingElement, String sourceEffectiveId, Scope scope, boolean handleNonFatal) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContextStack.java:240: error: not found: type Scope
[scalac] public void pushBinding(Element bindingElement, String sourceEffectiveId, Scope scope) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContextStack.java:122: error: not found: value XFormsFunction
[scalac] public XFormsFunction.Context getFunctionContext(String sourceEffectiveId) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XFormsLoadAction.java:30: error: not found: type XFormsAction
[scalac] public class XFormsLoadAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XFormsResetAction.java:26: error: not found: type XFormsAction
[scalac] public class XFormsResetAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XFormsMessageAction.java:32: error: not found: type XFormsAction
[scalac] public class XFormsMessageAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XFormsInsertAction.java:42: error: not found: type XFormsAction
[scalac] public class XFormsInsertAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XFormsDeleteAction.java:36: error: not found: type XFormsAction
[scalac] public class XFormsDeleteAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XXFormsHideAction.java:25: error: not found: type XFormsAction
[scalac] public class XXFormsHideAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XXFormsInvalidateInstanceAction.java:27: error: not found: type XFormsAction
[scalac] public class XXFormsInvalidateInstanceAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XXFormsInvalidateInstancesAction.java:25: error: not found: type XFormsAction
[scalac] public class XXFormsInvalidateInstancesAction extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/actions/XXFormsJoinSubmissions.java:21: error: not found: type XFormsAction
[scalac] public class XXFormsJoinSubmissions extends XFormsAction {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/RRRActions.scala:30: error: type mismatch;
[scalac] found : org.orbeon.oxf.xforms.XFormsModel
[scalac] required: org.orbeon.oxf.xforms.event.XFormsEventTarget
[scalac] def createEvent(model: XFormsModel, applyDefaults: Boolean) = new XFormsRebuildEvent(model)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/RRRActions.scala:39: error: overloaded method constructor XFormsRecalculateEvent with alternatives:
[scalac] (target: org.orbeon.oxf.xforms.event.XFormsEventTarget,applyDefaults: Boolean)org.orbeon.oxf.xforms.event.events.XFormsRecalculateEvent <and>
[scalac] (target: org.orbeon.oxf.xforms.event.XFormsEventTarget,properties: org.orbeon.oxf.xforms.event.XFormsEvent.PropertyGetter)org.orbeon.oxf.xforms.event.events.XFormsRecalculateEvent
[scalac] cannot be applied to (org.orbeon.oxf.xforms.XFormsModel, Boolean)
[scalac] def createEvent(model: XFormsModel, applyDefaults: Boolean) = new XFormsRecalculateEvent(model, applyDefaults)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/RRRActions.scala:44: error: type mismatch;
[scalac] found : org.orbeon.oxf.xforms.XFormsModel
[scalac] required: org.orbeon.oxf.xforms.event.XFormsEventTarget
[scalac] def createEvent(model: XFormsModel, applyDefaults: Boolean) = new XFormsRevalidateEvent(model)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContextStack.java:71: error: not found: type XBLContainer
[scalac] public final XBLContainer container;
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContextStack.java:201: error: not found: type VariableAnalysisTrait
[scalac] public BindingContext.VariableInfo scopeVariable(VariableAnalysisTrait staticVariable, String sourceEffectiveId, boolean handleNonFatal) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java:105: error: not found: type ElementAnalysis
[scalac] public void runAction(ElementAnalysis actionAnalysis) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XFormsActionAction.scala:64: error: value execute is not a member of Object
[scalac] XFormsActions.getScriptAction.execute(actionContext)
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XFormsRefreshAction.scala:45: error: type mismatch;
[scalac] found : org.orbeon.oxf.xforms.XFormsModel
[scalac] required: org.orbeon.oxf.xforms.event.XFormsEventTarget
[scalac] Dispatch.dispatchEvent(new XFormsRefreshEvent(model))
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XFormsToggleAction.scala:31: error: fruitless type test: a value of type org.orbeon.oxf.xforms.control.XFormsControl cannot also be a org.orbeon.oxf.xforms.control.controls.XFormsCaseControl
[scalac] case Some(caseControl: XFormsCaseControl) ?
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XFormsToggleAction.scala:49: error: value synchronizeAndRefresh is not a member of org.orbeon.oxf.xforms.XFormsContainingDocument
[scalac] XFormsAPI.containingDocument.synchronizeAndRefresh()
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XFormsToggleAction.scala:51: error: value parent is not a member of org.orbeon.oxf.xforms.control.controls.XFormsCaseControl
[scalac] if (caseControl.parent.isRelevant && ! caseControl.isSelected) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContainingDocument.java:1054: error: not found: type ScriptInterpreter
[scalac] public ScriptInterpreter getScriptInterpreter() {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContainingDocument.java:787: error: not found: type XFormsEvent
[scalac] public void addScriptToRun(org.orbeon.oxf.xforms.Script script, XFormsEvent event, XFormsEventObserver eventObserver) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/XFormsContainingDocument.java:787: error: not found: type XFormsEventObserver
[scalac] public void addScriptToRun(org.orbeon.oxf.xforms.Script script, XFormsEvent event, XFormsEventObserver eventObserver) {
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java:55: error: not found: type XFormsEvent
[scalac] public final XFormsEvent event;
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/java/org/orbeon/oxf/xforms/action/XFormsActionInterpreter.java:56: error: not found: type XFormsEventObserver
[scalac] public final XFormsEventObserver eventObserver;
[scalac] ^
[scalac] /Developer/wksp_juno/orbeon-forms/src/main/scala/org/orbeon/oxf/xforms/action/actions/XXFormsShowAction.scala:32: error: fruitless type test: a value of type org.orbeon.oxf.xforms.control.XFormsControl cannot also be a org.orbeon.oxf.xforms.control.controls.XXFormsDialogControl
....
....
[scalac] ^
[scalac] 231 errors found
It looks like your Eclipse might not be setup to compile the Scala code. Maybe the simplest way to get there is to use Scala IDE. The Scala IDE folks created a video about the installation of Scala IDE, which you You might find useful.
Today, I am able to setup Orbeon Project inside eclipse, and I am able to run it against the server and allow me to debug the code.
I have created wiki in order to help other Developers to setup the same thing, and try to understand the project by debugging.
Please refer follow steps in order to setup the project:
Download eclipse Scala-IDE from the link: http://scala-ide.org/
Unzip the archive and save it in your file system.
Open eclipse -> File Menu -> Click On Import -> Select Projects From Git -> Next.
Entet URI as git#github.com:orbeon/orbeon-forms.git, and select CE 4.5 Branch, and Select next.
Select New Project Wizard, and Click on Finish.
Now Project Selection Wizard, Select New Scala Project. Name as Orbeon-Forms.
If you do not see code inside project then Right Click on Project -> Import -> Existing Project From File System -> Select the location where you clone the Orbeon Project. -> Click On Finish.
Now, Create resource-local folder inside the project, and copy the content of resource-packaged folder into resource-local.
Now create recursive folder as this path inside project: /build/orbeon-war/WEB-INF/classes.
Now, Right click on project -> Select Properties -> Select Build Path.
11.Now, setup your Default output folder to Orbeon-Forms/build/orbeon-war/WEB-INF/classes.
Remove all source folder, and add src/main/java, src/main/scala, src/main/resource, src/main/resource-packaged, src/main/resource-local.
Now Go to the, Libraries tab, and remove all jars. (Note: Do not remove JRE and Scala Library.)
Now add all jars from lib folder. and Click Apply.
Now Click on Resource, Text File Encoding. Click on other, and change it to "UTF-8".
Now Close the properties windows.
Now you may get, cross-compiled error for some jars for mongodb and GridFS. Remove those jars from your Build Path.
Now, you will get error in few files in Problem Window.
Right now, I have removed MongoDBPersistence.scala file. and for other file, I comment the code.
Now open, LoggerFactory.scala file, and comment following line:
_String log4jConfigURL = Properties.instance().getPropertySet().getStringOrURIAsString(LOG4J_DOM_CONFIG_PROPERTY, false);_
And copy paste the following line after that commented line:
String log4jConfigURL = "oxf:/default-log4j.xml";
Note: If you do not do above change, you will get error while starting your server.
Now, clean your project, and build it. eClipse should compile all scala and java file, generate class files under
Orbeon-Forms/build/orbeon-war/WEB-INF/classes.
Now, Right click on build.xml -> Properties -> Run/Debug Settings -> Click on New -> Select Ant Build.
New Window named Edit Configuration will open up.
Click on Properties Tab -> Uncheck "Use Global Properties as specified in Ant runtime Preference".
Click on Add Property. Give name skip.compilation and value true. Click Ok, and close the Configuration. (Note: Now Ant will not Compile Scala and Java Files.)
Now, run orbeon-war ant target from eclipse. You should be able to see Build Successfully after build finished.
I am using Apache Tomcat as server. Go to server.xml under conf directory of your Tomcat directory.
Add following context under :
Note: value for docBase will changed based on the your project location in your file system.
Now open command prompt, and go to your /bin.
Run, catalina jpda start.
It shows server has been started.
Open, localhost:8080/orbeon in your browser. You will see Orbeon Home page.
Now, Go to eclipse -> Run Menu -> Debug Configuration -> Select Remote Java Application -> click on "+" Sign.
Now enter host as localhost and port as 8000. This will allow Remote Debugging.
As the cutil.h header is removed from CUDA Samples, some new headers are introduced like helper_cuda.h, helper_functions.h.
One of the main keywords that is used by me was CUDA_CHECK_ERROR, and I think it is replaced with checkCudaErrors.
In most of my code the macro compiles and works well. However when I use it in a class which has a function named check(..), checkCudaErrors function gives compile errors.
Here is an example:
#include <stdio.h>
#include <cuda_runtime.h>
#include <helper_cuda.h>
#include <helper_functions.h>
template<typename T>
class Trivial {
public:
void check()
{
}
void initialize()
{
checkCudaErrors(cudaMalloc(NULL, 1));
}
T val;
};
int main(int argc, char **argv)
{
Trivial<int> tt;
tt.initialize();
return 0;
}
and the result of compilation: (the same error is seen when compiled with GCC 4.5 also!)
1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
2>------ Build started: Project: massivecc, Configuration: Release x64 ------
2> trivial_main.cpp
2>..\src\trivial_main.cpp(19): error C2660: 'Trivial<T>::check' : function does not take 4 arguments
2> with
2> [
2> T=int
2> ]
2> ..\src\trivial_main.cpp(18) : while compiling class template member function 'void Trivial<T>::initialize(void)'
2> with
2> [
2> T=int
2> ]
2> ..\src\trivial_main.cpp(29) : see reference to class template instantiation 'Trivial<T>' being compiled
2> with
2> [
2> T=int
2> ]
3>------ Skipped Build: Project: ALL_BUILD, Configuration: Release x64 ------
3>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========
The same error is taken when I removed the template parameter.
I had to copy the check(..) function's definition from helper_functions.h into my class's header to be able to compile the class.
#include <stdio.h>
#include <cuda_runtime.h>
#include <helper_cuda.h>
#include <helper_functions.h>
class Trivial {
public:
template< typename T >
bool check(T result, char const *const func, const char *const file, int const line)
{
if (result) {
fprintf(stderr, "CUDA error at %s:%d code=%d(%s) \"%s\" \n",
file, line, static_cast<unsigned int>(result), _cudaGetErrorEnum(result), func);
return true;
} else {
return false;
}
}
void check() { }
void initialize()
{
checkCudaErrors(cudaMalloc(NULL, 1));
}
};
int main(int argc, char **argv)
{
Trivial tt;
tt.initialize();
return 0;
}
So, this mainly solved my problem and my code compiled successfully.
with reference to the source code found in helper_cuda.h on line 680
https://github.com/pathscale/nvidia_sdk_samples/blob/master/vectorAdd/common/inc/helper_cuda.h
you find checkCudaErrors declares a #define checkCudaErrors(val) check ( (val), #val, FILE, LINE ) which takes in a single argument and calls check with 3 other arguments based on config.Note that it is also defined in line 680
Whereas in your case, you define a check that does not take any argument. case of different declaration and definition, multiple definitions.